Open sharathin opened 2 years ago
@sharathin Yes you can set Session property using join_distribution_type
Ref - https://prestodb.io/docs/current/admin/properties.html#join-distribution-type
@agrawalreetika in magic comments ? i want to set this at the query level, not at the session properties level. Is that possible?
How are you submitting queries to Presto? If you are using presto cli, just run set session before you run each query. If you use other client, set the session to the value you want for each query you submit to Presto.
Hi Team,
Can you confirm if we can add join_distribution_type inside the query using magic comments as per https://docs.treasuredata.com/display/public/PD/Magic+Comments+for+Presto+Queries something like -- set session join_distribution_type = 'BROADCAST'