You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by "Omega359 (via GitHub)" <gi...@apache.org> on 2024/04/22 14:52:07 UTC

[I] CLI unable to execute queries with range(..) function [datafusion]

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

   ### Describe the bug
   
   Noticed when attempting to reproduce #9755 the initial query in that issue does not work when run against current main branch: 
   ```
   ❯ docker build -f datafusion-cli/Dockerfile . --tag datafusion-cli
   ...
   ❯ docker run -it -v /tmp:/data datafusion-cli
   DataFusion CLI v37.1.0
   > CREATE
   OR REPLACE TABLE pricing AS
   SELECT
       t,
       RANDOM() as v
   FROM
       range(
           '2022-01-01' :: TIMESTAMP,
           '2023-01-01' :: TIMESTAMP,
           INTERVAL 1 DAY
       ) ts(t);
   Error during planning: table function 'range' not found
   ```
   
   ### To Reproduce
   
   Build and start CLI, run query.
   
   ### Expected behavior
   
   Query should succeed.
   
   ### 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: commits-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org


Re: [I] CLI unable to execute queries with range(..) function [datafusion]

Posted by "Omega359 (via GitHub)" <gi...@apache.org>.
Omega359 commented on issue #10177:
URL: https://github.com/apache/datafusion/issues/10177#issuecomment-3702512244

   This issue is now fixed.


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] CLI unable to execute queries with range(..) function [datafusion]

Posted by "Lordworms (via GitHub)" <gi...@apache.org>.
Lordworms commented on issue #10177:
URL: https://github.com/apache/datafusion/issues/10177#issuecomment-2072419019

   I think it is a related issue with https://github.com/apache/datafusion/issues/10069#issue-2241483049 
   and if it is necessary to register range as a table function, I would like to do that


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] CLI unable to execute queries with range(..) function [datafusion]

Posted by "Omega359 (via GitHub)" <gi...@apache.org>.
Omega359 closed issue #10177: CLI unable to execute queries with range(..) function
URL: https://github.com/apache/datafusion/issues/10177


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org