Abhishek Dubey
10/17/2022, 3:02 AMKishore G
Abhishek Dubey
10/17/2022, 5:08 AMKishore G
Abhishek Dubey
10/17/2022, 5:49 AMRong R
10/17/2022, 2:34 PMand fact2.time_created between T1 and T2
a join condition (as is T1 and T2 coming from fact1) ?
• if so then the condition is not partition key-based and the plan will reduce into a nested-loop join and won't be efficient
◦ you can still run the query but the performance might be poor
• if T1 and T2 are constant then the plan should become a distributed hash join and should result in reasonable performanceAbhishek Dubey
10/18/2022, 4:18 AMAbhishek Dubey
10/18/2022, 4:18 AMAbhishek Dubey
10/18/2022, 4:19 AMRong R
10/18/2022, 4:30 AMAbhishek Dubey
10/18/2022, 5:55 AMRong R
10/18/2022, 2:08 PMcreate view
syntax? or do you mean materialized view?
do you have a more detail example on how the view is being used?