EralpB opened a new issue, #5764: URL: https://github.com/apache/iceberg/issues/5764
### Query engine trino (maybe spark) ### Question Hello pardon my ignorance, I wasn't sure if this is trino or iceberg question. I'm trying to insert 200 million rows which have random uuids to a target table which bucket partitions this into 4 buckets. my insert performance is 2 minutes with NO bucketing, and up to 2 hours with 4 buckets. I assume it's because of the hashing function jumps back and forth between the partitions so what I want to do is something like: INSERT INTO target_table SELECT id FROM source_table ORDER BY bucket(id,4) I can't seem to access `bucket` or the murmur3 hash function from the SQL, what can you suggest? as a fallback I could use truncate function to partition uuids then I can just string order ids and it'll be predictable.. thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
