You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/01/17 23:35:57 UTC
[GitHub] xabriel opened a new issue #83: Make expression binding case
insensitive
xabriel opened a new issue #83: Make expression binding case insensitive
URL: https://github.com/apache/incubator-iceberg/issues/83
Iceberg's current implementation has column case sensitivity, which hinders usability, as most sql users expect case insensitivity by default. While a query like the following will succeed in other Spark Readers, it will fail on Iceberg:
```sql
SELECT COUNT(*)
FROM iceTable
WHERE year = 2017
AND MONTH = 11 -- Notice how MONTH has different casing than other predicates
AND day = 01
```
This will fail with a stack trace similar to:
```
com.google.common.util.concurrent.UncheckedExecutionException: com.netflix.iceberg.exceptions.ValidationException: Cannot find field 'MONTH' in struct: struct<...>
...
```
I've put together a PR to solve this at https://github.com/apache/incubator-iceberg/pull/82
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org