You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "Dandandan (via GitHub)" <gi...@apache.org> on 2026/05/16 16:33:27 UTC
[I] PostgreSQL compatibility: `^` evaluates as bitwise XOR instead of exponentiation [datafusion]
Dandandan opened a new issue, #22252:
URL: https://github.com/apache/datafusion/issues/22252
Split out from #22247.
### Mismatch
\`^\` evaluates as bitwise XOR instead of PostgreSQL exponentiation.
```sql
SELECT 2 ^ 3;
```
PostgreSQL:
```text
8
```
DataFusion:
```text
1
```
### Expected behavior
For PostgreSQL-compatible SQL semantics, DataFusion should either match PostgreSQL's result or raise the same class of domain/semantic error.
--
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.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] PostgreSQL compatibility: `^` evaluates as bitwise XOR instead of exponentiation [datafusion]
Posted by "xiedeyantu (via GitHub)" <gi...@apache.org>.
xiedeyantu commented on issue #22252:
URL: https://github.com/apache/datafusion/issues/22252#issuecomment-4468416968
take
--
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] PostgreSQL compatibility: `^` evaluates as bitwise XOR instead of exponentiation [datafusion]
Posted by "kosiew (via GitHub)" <gi...@apache.org>.
kosiew closed issue #22252: PostgreSQL compatibility: `^` evaluates as bitwise XOR instead of exponentiation
URL: https://github.com/apache/datafusion/issues/22252
--
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