Protocol Spec - Predicate hints from DataBricks don't match the described description
rustyconover opened this issue · comments
Rusty Conover commented
When querying with DataBricks for a partition column requests are made with
'{"predicateHints":["((CAST(partitionValues.customer_id AS STRING) > \'A\')
OR
(NOT (CAST(partitionValues.customer_id AS STRING) = \'Z\')))"]}'
This predicate expression does not match the protocol spec. Is it assumed that there is a CAST() function?
William Chau commented
Spark connectors + standalone servers support a superset of the protocol, but we are deprecating predicateHints in favor of jsonPredicateHints. We will also ensure that both the connector and server will adhere to the protocol going forward.