kmitchener opened a new issue, #3307:
URL: https://github.com/apache/arrow-datafusion/issues/3307
**Is your feature request related to a problem or challenge? Please describe
what you are trying to do.**
A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...]
(This section helps Arrow developers understand the context and *why* for
this feature, in addition to the *what*)
Currently there is no SQL support for TINYINT, or the unsigned versions of
TINYINT, SMALLINT, INT, and BIGINT.
```sql
$ echo "1" > tmp.txt
$ ./target/debug/datafusion-cli.exe
DataFusion CLI v11.0.0
create external table t (c1 tinyint) stored as csv location 'tmp.txt';
NotImplemented("The SQL data type TinyInt(None) is not implemented")
select 1::tinyint;
NotImplemented("Unsupported SQL type TinyInt(None)")
-- or unsigned versions of ints
select 1::int unsigned;
NotImplemented("Unsupported SQL type UnsignedInt(None)")
```
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
I'd like SQL support for TINYINT at least. Does DataFusion want SQL support
for the unsigned versions of the rest of the INTs? Postgres doesn't support
unsigned ints, but sqlparser-rs already has syntax support for it and there are
matching Arrow types.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features
you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
--
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]