zspsole commented on issue #25307: URL: https://github.com/apache/superset/issues/25307#issuecomment-2166564054
This is still the case on latest release (4.0.1). As described by @jshumway-zs, the Trino db engine extends from the Presto one, that has the method `where_latest_partition` defined that the preview fuction uses to make sure you only preview data from the latest partition. This method adds a WHERE clause using all the columns/values from the <table_name>$partitions first entry. This doesn't work in Trino. If it's not fixed at least it could be removed by overriding the method to the default implementation (`return None`). -- 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: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org