You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/12/26 18:13:25 UTC

[GitHub] [arrow-datafusion] matthewmturner edited a comment on issue #147: Add DataFusion to h2oai/db-benchmark

matthewmturner edited a comment on issue #147:
URL: https://github.com/apache/arrow-datafusion/issues/147#issuecomment-1001223018


   I feel a bit silly for asking this, but is the ability to raise a value / column to a power implemented in datafusion?  I've tried the below ways with no luck.  Am I missing something obvious?
   
   ```
   DataFusion CLI v5.1.0
   
   ❯ select 2**2;  🤔 Invalid statement: sql parser error: Expected end of statement, found: 2
   ```
   
   ```
   DataFusion CLI v5.1.0
   
   ❯ select 2^2;
   NotImplemented("Unsupported SQL binary operator BitwiseXor")
   ❯ select power(2,2);
   Plan("Invalid function 'power'")
   ```
   


-- 
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@arrow.apache.org

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