You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "mderoy (via GitHub)" <gi...@apache.org> on 2023/07/28 15:33:52 UTC

[GitHub] [iceberg] mderoy opened a new issue, #8178: Case sensitivity is not respected when using IcebergGenerics.ScanBuilder

mderoy opened a new issue, #8178:
URL: https://github.com/apache/iceberg/issues/8178

   ### Apache Iceberg version
   
   1.3.1 (latest release)
   
   ### Query engine
   
   Other
   
   ### Please describe the bug 🐞
   
   Our application is using the following to read from the table
   ```
           IcebergGenerics.ScanBuilder scanBuilder = IcebergGenerics.read(iceberg_table);
           CloseableIterable<Record> records = scanBuilder.useSnapshot(snapshotId).build();
           List<List<String>> output = new ArrayList<List<String>>();
           for (Record record : records) {
    ```
   however when I apply a case insensitive filter like
   ```
           	Expression filterExpr = ExpressionParser.fromJson(m_scanFilter);
           	scanBuilder = scanBuilder.where(filterExpr).caseInsensitive();
   ```
   I get the below error despite setting the scan to caseInsensitive
   ```
   2023-07-28 11:17:45.000208 EDT INFO: Scan of 'test.usethestats' using provided filter: '{"type":"eq","term":"V1","value":1}'
   Records in test.usethestats :
   Error processing the request: Cannot find field 'V1' in struct: struct<1: v1: optional int>
   ```
   
   
   I've opened a pull request - https://github.com/apache/iceberg/pull/8177


-- 
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: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Case sensitivity is not respected when using IcebergGenerics.ScanBuilder [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8178:
URL: https://github.com/apache/iceberg/issues/8178#issuecomment-2336881273

   This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Case sensitivity is not respected when using IcebergGenerics.ScanBuilder [iceberg]

Posted by "mderoy (via GitHub)" <gi...@apache.org>.
mderoy closed issue #8178: Case sensitivity is not respected when using IcebergGenerics.ScanBuilder
URL: https://github.com/apache/iceberg/issues/8178


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org