holicc commented on issue #13625:
URL: https://github.com/apache/datafusion/issues/13625#issuecomment-2513689911

   @TheBuilderJR Cannot reproduce this problem on version 43.0.0. Maybe 
something is missing here.
   ```rust
    let df = ctx.sql("create table logs(timestamp varchar);").await?;
    let df = ctx
           .sql(r#"SELECT * FROM logs WHERE timestamp IS NOT NULL ORDER BY 
timestamp DESC LIMIT 3"#)
           .await?;
    println!("{:?}",df.schema());
    df.show().await?;
   ```
   got results:
   ```text
   DFSchema { inner: Schema { fields: [Field { name: "timestamp", data_type: 
Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }], 
metadata: {} }, field_qualifiers: [Some(Bare { table: "logs" })], 
functional_dependencies: FunctionalDependencies { deps: [] } }
   +-----------+
   | timestamp |
   +-----------+
   ```
   


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