Content-Length: 56725 | pFad | http://docs.starburst.io/introduction/starburst-sql.html
Starburst Enterprise and Starburst Galaxy are built on Trino. Trino’s open source distributed SQL engine runs fast analytic queries against various data sources ranging in size from gigabytes to petabytes. Data sources are exposed as catalogs. Because Trino’s SQL is ANSI-compliant and supports most of the SQL language features you depend on, you can hit the ground running.
Business intelligence users and data scientists can continue to use their favorite client tools such as Tableau, Qlik and Apache Superset to access and analyze virtually any data source, or multiple data sources in a single query.
We know you want to jump right in, and we know you already have awesome analytics skills. It’s just a matter of harnessing the power of SQL to take your analytics even further:
Just in case you’d like a more structured walkthrough, here are of some specifically interesting SQL features in Starburst, presented by one of our founders, David Phillips:
Ready to move past the basics? For your convenience, we’ve divided the Advanced SQL for Starburst video training course up into topic sections, and provided links to the relevant parts of our documentation below.
count()
with DISTINCT
Galaxy
or SEP
max_by()
values Galaxy
or SEP
count_if()
and FILTER
Galaxy
or SEP
ROLLUP
Galaxy
or SEP
CUBE
Galaxy
or SEP
GROUPING SETS
Galaxy
or SEP
Running time: ~28 min.
lead()
Galaxy
or SEP and lag()
Galaxy
or SEP
ROWS
vs RANGE
using array_agg()
Galaxy
or SEP
Running time: ~25 min.
Starburst allows you to easily create arrays and maps with your data:
trino> SELECT ARRAY[4, 5, 6] AS integers,
ARRAY['hello', 'world'] AS varchars;
integers | varchars
-----------+----------------
[4, 5, 6] | [hello, world]
SQL array indexes are 1-based. Learn more about how to use them in this in-depth video.
element_at()
Galaxy
or SEP
array_sort()
Galaxy
or SEP
any_match()
Galaxy
or SEP,
all_match()
Galaxy
or SEP,
and none_match()
Galaxy
or SEP
Running time: ~19 min.
Is the information on this page helpful?
Yes
No
Fetched URL: http://docs.starburst.io/introduction/starburst-sql.html
Alternative Proxies: