Re: Is partition pruning impacted by data type

2024-03-07 Thread sud
Something interesting and not sure if expected behaviour is as below. We are confused here. In the below example we created two partitioned tables on timestamptz type columns with different time zones and the child partitions are created appropriately with boundaries as one mid night to next mid n

Re: Is partition pruning impacted by data type

2024-03-05 Thread sud
Thank you. Yes, I tried creating a table manually with column timestamptz(6) type and partitioned on that and then executed select query with the filter on that column and I do see partition pruning happening. Not able to visualize any other issues though, however some teammates say it may have a

Re: Is partition pruning impacted by data type

2024-03-05 Thread Lok P
On Tue, Mar 5, 2024 at 1:09 AM sud wrote: > > However the question we have is , > 1)If there is any downside of having the partition key with "timestamp > with timezone" type? Will it impact the partition pruning of the queries > anyway by appending any run time "time zone" conversion function du

Is partition pruning impacted by data type

2024-03-04 Thread sud
Hi, We are designing one application which is currently restricted to one time zone users but has the possibility to go global in future. Some of the transaction tables are going to be daily range partitioned on the transaction_create_date column. But the "date" data type will have no time componen