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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]