yyy1000 opened a new issue, #10440:
URL: https://github.com/apache/datafusion/issues/10440

   ### Is your feature request related to a problem or challenge?
   
   When creating a table specifying the double as column datatype and giving 
some initial values without explicit double type, for example using some const 
like 1, there would be an error. Though I think the previous row could indicate 
the type. 
   I don't know whether it's designed to behave like this, or something else. 🤔
   
   ```
   External error: statement failed: DataFusion error: Error during planning: 
Inconsistent data type across values list at row 1 column 0. Was Float64 but 
found Int64
   [SQL] create table t (c1 double, c2 double) as values (1.1, 4.1), (2, 5), 
(3, 6);
   ```
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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