abey79 opened a new pull request, #1370:
URL: https://github.com/apache/datafusion-python/pull/1370

   # Which issue does this PR close?
   
   Closes https://github.com/apache/datafusion-python/issues/1369
   
    # Rationale for this change
   
   The error displayed by the snippet in #1369 now is:
   
   ```
   Exception: DataFusion error: Schema error: No field named does_not_exist. 
Valid fields are users.id, users.name, users.age.
   ```
   
   It previously was:
   
   ```
   Exception: DataFusion error: SchemaError(FieldNotFound { field: Column { 
relation: None, name: "does_not_exist" }, valid_fields: [Column { relation: 
Some(Bare { table: "users" }), name: "id" }, Column { relation: Some(Bare { 
table: "users" }), name: "name" }, Column { relation: Some(Bare { table: 
"users" }), name: "age" }] }, Some(""))
   ```
   
   # What changes are included in this PR?
   
   This uses the `Display` trait instead of the `Debug` trait of 
`DataFusionError` when displaying errors.
   
   # Are there any user-facing changes?
   
   Yes. Error display.


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