JunRuiLee commented on code in PR #496:
URL: https://github.com/apache/paimon-rust/pull/496#discussion_r3565805983


##########
crates/integrations/datafusion/src/table/mod.rs:
##########
@@ -426,12 +439,17 @@ impl TableProvider for PaimonTableProvider {
         filters: &[&Expr],
     ) -> DFResult<Vec<TableProviderFilterPushDown>> {
         let fields = self.table.schema().fields();
+        // SQL reads resolve columns case-sensitively (see `scan`), so classify
+        // pushdown the same way. `classify_filter_pushdown` still caps at

Review Comment:
   Fixed — dropped the stale sentence; the comment now just says SQL reads 
classify case-sensitively. (30e24ee)



##########
crates/paimon/src/table/read_builder.rs:
##########
@@ -141,6 +147,31 @@ impl<'a> ReadBuilder<'a> {
         Ok(self)
     }
 
+    /// Set whether column-name matching (projection and predicate column
+    /// resolution) is case-sensitive. Defaults to `true` (exact match). When 
set
+    /// to `false`, names are matched by ASCII case-folding and an ambiguous
+    /// (case-colliding) request errors. Mirrors Java's

Review Comment:
   Good catch — Java `RowType` only has `getFieldIndex(String)`. Removed the 
inaccurate overload reference; the doc now describes the per-read case 
sensitivity engines like Spark drive from `spark.sql.caseSensitive`, which is 
the actual analogue. (30e24ee)



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to