Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
community.powerbi.com/t5/Power-Query/Native-query-on-Oracle-use-TO-TIMESTAMP-function-for-date-fields/m-p/1938663
In Power Query for Oracle DB queries involving fields with the DATE type all filtering through query-folding is using the TO_TIMESTAMP function. As incremental refresh is implemented, we cannot use SQL statement option.
This causes issue as Oracle invokes internal function on date field used in filter to match timestamp. This is problematic as for large tables the quesry goes for full table scan instead of using index created on date field. This results in performance issues and the refresh failures invloving fact tables with huge data.
Index is consider if TO_TIMESTAMP is replaced with TO_DATE function
Is there a way to avoid TO_TIMESTAMP function being called here?
Thanks,
Vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.