You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2022/06/21 01:43:00 UTC
[jira] [Commented] (CALCITE-5191) Allow ORDER BY alias in BigQuery
[ https://issues.apache.org/jira/browse/CALCITE-5191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17556597#comment-17556597 ]
Julian Hyde commented on CALCITE-5191:
--------------------------------------
I force pushed [1226d1a3|https://github.com/apache/calcite/commit/1226d1a339c9b42871d2dfc97183bbab91faf95a] to make the test more general, improve the commit message, remove some cosmetic changes (due to the static import of SqlConformanceEnum.BIG_QUERY), per [julianhyde/5191-order-by-alias|https://github.com/julianhyde/calcite/tree/5191-order-by-alias].
> Allow ORDER BY alias in BigQuery
> --------------------------------
>
> Key: CALCITE-5191
> URL: https://issues.apache.org/jira/browse/CALCITE-5191
> Project: Calcite
> Issue Type: Bug
> Components: core
> Reporter: Wenrui Meng
> Assignee: Wenrui Meng
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.31.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> {code:java}
> select 1 as a order by a {code}
> the above statement is valid in BigQuery, but failed in current validation flow due to allow alias not enabled for the BigQuery conformance.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)