wengh commented on code in PR #49961: URL: https://github.com/apache/spark/pull/49961#discussion_r1972861639
########## python/pyspark/sql/datasource.py: ########## @@ -234,6 +249,35 @@ def streamReader(self, schema: StructType) -> "DataSourceStreamReader": ) +ColumnPath = Tuple[str, ...] + + +@dataclass(frozen=True) +class Filter(ABC): + """ + The base class for filters used for filter pushdown. + + .. versionadded: 4.1.0 + Review Comment: Should add examples of sql filter expression -> filter and also unsupported filter examples -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org