Re:Command-line data analytics made easy
by zX41ZdbW on Thursday November 03, 2022 @07:59AM
(#33449722)
Does SPyQL have any advantages over clickhouse-local?
[ Parent
| on HN ]
Re:Command-line data analytics made easy
by dmoura on Thursday November 03, 2022 @09:02AM
(#33450313)
Things you can do with SPyQL CLI that you can't with clickhouse local (AFAIK, top of my mind, not exhaustive):
- pipe data into (e.g. from another CLI util)
- use python code in your queries
- import python libs (just install them with pip/conda)
- write your one UDFs in Python
- run OS commands from within the query (using os.system)
- have guaranty of row order (like in grep, sed, etc)
And there is more, please take a look at: https://spyql.readthedocs.io/en/latest/distinctive.html
Re:Command-line data analytics made easy
by reichardt on Thursday November 03, 2022 @09:53AM
(#33450975)
As shown in the first example you can pipe data into clickhouse-local: https://clickhouse.com/docs/en/operations/utilities/clickhou...