nuno-faria opened a new pull request, #24398:
URL: https://github.com/apache/datafusion/pull/24398

   ## Which issue does this PR close?
   
   - N/A.
   
   ## Rationale for this change
   
   Some sql-parser types were not being processed in DataFusion. This makes it 
so they map to existing types, as is done in other systems.
   
   ## What changes are included in this PR?
   
   - `Nvarchar/CharacterVarying/CharVarying` -> string.
   - `UBigInt` -> uint64.
   - `Blob/Binary/Varbinary/Bytes` -> binary.
   
   I left `Blob(n)`, `Varbinary(n)`. and `Bytes(n)` to return an error, since 
in arrow the limits can't be ensured. We could also accept them, just like 
`Varchar(n)`, but we would need probably need a `support_varchar_with_length` 
type config for binary types.
   
   ## Are these changes tested?
   
   Yes.
   
   ## Are there any user-facing changes?
   
   New SQL type alias, but no new types are added.


-- 
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]

Reply via email to