StarRocks / starrocks

StarRocks, a Linux Foundation project, is a next-generation sub-second MPP OLAP database for full analytics scenarios, including multi-dimensional analytics, real-time analytics, and ad-hoc queries.
https://starrocks.io
Apache License 2.0
8.25k stars 1.67k forks source link

Better Trino compatibility request #37089

Open didip opened 6 months ago

didip commented 6 months ago

Enhancements

First of all, Trino compatibility docs should tell users that to have the same result as Trino, this has to be set: SET global sql_mode='SORT_NULLS_LAST';

The following functionalities are not currently implemented in Trino dialect:

Also a few SQL issues:

winterfreshx commented 6 months ago

On the WHERE 1=1, the customer uses it to simply comment / uncomment where clauses before like this WHERE 1=1 AND date=X AND ...

hackeryang commented 6 months ago

The Trino community is trying to support StarRocks connector: https://github.com/trinodb/trino/issues/17329
Thanks to @chenjian2664

hhhonzik commented 3 months ago

For what it's worth, i've implemented compatible HLL functions via Java UDF here

yangzho12138 commented 1 month ago

I will try to work on this issue!