JayjeetAtGithub opened a new issue, #7344:
URL: https://github.com/apache/arrow-datafusion/issues/7344

   ### Describe the bug
   
   ### Describe the bug
   
   On running the query below on the Clickbench multi file dataset, 
   
   ```sql
   SELECT "SearchPhrase" FROM hits WHERE "SearchPhrase" <> '' ORDER BY 
to_timestamp_seconds("EventTime"), "SearchPhrase" LIMIT 10;
   
   ```
   
   we get this error,
   
   ```bash
   Arrow error: Invalid argument error: The data type type Binary has no 
natural order
   ```
   
   ### To Reproduce
   
   Download the data using,
   
   ```bash
    ./benchmarks/bench.sh data clickbench_partitioned
   ```
   
   A `hits_multi` directory with the parquet files will be created.
   
   Execute the above queries,
   
   ```bash
   datafusion-cli -c "CREATE EXTERNAL TABLE hits STORED AS PARQUET LOCATION 
'hits_multi';" "{query}"
   ```
   
   ### Expected behavior
   
   The queries should run successfully without erroring.
   
   ### Additional context
   
   _No response_
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _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]

Reply via email to