You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a table with stored data which is partitioned by hourly logTime and am using Iceberg table and REST Catalog.
I want to execute the query into below table like :
createtableif not exists sample_1month with (
location ='s3a://1month',
format ='PARQUET',
partitioning = ARRAY['hour(logtime)']
)
asselect*from sample_1month wheredata.logtime>= from_iso8601_timestamp('2024-09-01T00:00:00.000000') AND logtime <= from_iso8601_timestamp('2024-09-30T00:00:00.000000') order by logtime;
I think partitioning of base table can significantly reduce memory usage because sorting only on partitioned data becomes full sorting, am I right?
This discussion was converted from issue #23642 on October 02, 2024 06:33.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I'm using trino and have a question.
I have a table with stored data which is partitioned by hourly
logTime
and am using Iceberg table and REST Catalog.I want to execute the query into below table like :
I think partitioning of base table can significantly reduce memory usage because sorting only on partitioned data becomes full sorting, am I right?
Beta Was this translation helpful? Give feedback.
All reactions