$ vi ~/trips.conf input { file { path => "/one_tb_drive/taxi-trips/*.csv" type => "trip" start_position => "beginning" } } filter {…
Continue Reading=>
Presto, Parquet & Airpal
EXPLAIN SELECT year, count(*) FROM track_metadata_csv GROUP BY year ORDER BY year; Query Plan ———————————————————————————————————————————————- – Output[year, _col1] => [year:bigint,…
Continue ReadingRealtime Market-Data Updates with Elixir
We define then a new function handle_msg/2 .def handle_frame({:text, msg}, state) do handle_msg(Poison.decode!(msg), state)enddef handle_msg(%{"type" => "match"}=trade, state) do IO.inspect(trade) {:ok,…
Continue ReadingFunctional references: Lens and other Optics in Scala
If we were to implement this functionality in an imperative object oriented way we could, for example, make number a…
Continue ReadingHow to setup multiple authentication in Laravel 5.6
* * @param IlluminateHttpRequest $request * @param IlluminateAuthAuthenticationException $exception * @return IlluminateHttpResponse */ protected function unauthenticated($request, AuthenticationException $exception) { if…
Continue Reading