[jira] [Commented] (CALCITE-5943) RelMdSelectivity can return more precise selectivity for Sample

2023-08-20 Thread Jiajun Xie (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756686#comment-17756686 ] Jiajun Xie commented on CALCITE-5943: - [~libenchao]  No, this is discussion about `

[jira] [Updated] (CALCITE-5944) RelMdRowCount can return more accurate rowCount for Sample

2023-08-20 Thread Jiajun Xie (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiajun Xie updated CALCITE-5944: Summary: RelMdRowCount can return more accurate rowCount for Sample (was: RelMdRowCount can retu

[jira] [Commented] (CALCITE-5943) RelMdSelectivity can return more precise selectivity for Sample

2023-08-20 Thread Benchao Li (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756676#comment-17756676 ] Benchao Li commented on CALCITE-5943: - Is this one duplicated with CALCITE-5944? >

[jira] [Commented] (CALCITE-5944) RelMdRowCount can return more accurate rowCount

2023-08-20 Thread Benchao Li (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756675#comment-17756675 ] Benchao Li commented on CALCITE-5944: - Is {{RelMdRowCount}} the only one that needs

[jira] [Commented] (CALCITE-5940) Add the Rules to optimize Limit

2023-08-20 Thread LakeShen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756672#comment-17756672 ] LakeShen commented on CALCITE-5940: --- Hi [~libenchao] ,thank you very much for remindi

[jira] [Commented] (CALCITE-5940) Add the Rules to optimize Limit

2023-08-20 Thread Benchao Li (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756664#comment-17756664 ] Benchao Li commented on CALCITE-5940: - Are u sure that Calcite currently doesn't ha

[jira] [Updated] (CALCITE-5940) Add the Rules to optimize Limit

2023-08-20 Thread libopeng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] libopeng updated CALCITE-5940: -- Description: Now in calcite,the Limit will be represented using LogicalSort(fetch=[xx]),but there ar

[jira] [Commented] (CALCITE-5930) When sqlToRel is converted from in to join, condition '=' on both sides will have inconsistent data types.

2023-08-20 Thread libopeng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756634#comment-17756634 ] libopeng commented on CALCITE-5930: --- Thanks for reminding. > When sqlToRel is conver

[jira] [Commented] (CALCITE-5930) When sqlToRel is converted from in to join, condition '=' on both sides will have inconsistent data types.

2023-08-20 Thread Benchao Li (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756632#comment-17756632 ] Benchao Li commented on CALCITE-5930: - [~leepb] It would be good to add a "link" to

[jira] [Resolved] (CALCITE-5941) Support LITERAL_AGG in Interpreter

2023-08-20 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde resolved CALCITE-5941. -- Resolution: Fixed Fixed in [0d345670|https://github.com/apache/calcite/commit/0d3456705a13e2

[jira] [Commented] (CALCITE-5937) The parsing error should not be thrown even if there is empty Hint

2023-08-20 Thread LakeShen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756541#comment-17756541 ] LakeShen commented on CALCITE-5937: --- Hi [~jiajunbernoulli] ,Sorry for misunderstandin

[jira] [Updated] (CALCITE-5937) The parsing error should not be thrown even if there is empty Hint

2023-08-20 Thread LakeShen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] LakeShen updated CALCITE-5937: -- Summary: The parsing error should not be thrown even if there is empty Hint (was: The parsing error

[jira] [Closed] (CALCITE-5945) Forced join order SQL hint.

2023-08-20 Thread Vladimir Steshin (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Steshin closed CALCITE-5945. - Resolution: Won't Fix Wrong project. > Forced join order SQL hint. > -

[jira] [Created] (CALCITE-5945) Forced join order SQL hint.

2023-08-20 Thread Vladimir Steshin (Jira)
Vladimir Steshin created CALCITE-5945: - Summary: Forced join order SQL hint. Key: CALCITE-5945 URL: https://issues.apache.org/jira/browse/CALCITE-5945 Project: Calcite Issue Type: Task

[jira] [Updated] (CALCITE-5917) Comments in TimeString class are incorrect

2023-08-20 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-5917: Labels: pull-request-available (was: ) > Comments in TimeString class are incorrect > --

[jira] [Updated] (CALCITE-5944) RelMdRowCount can return more accurate rowCount

2023-08-20 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-5944: Labels: pull-request-available (was: ) > RelMdRowCount can return more accurate rowCount

[jira] [Updated] (CALCITE-5944) RelMdRowCount can return more accurate rowCount

2023-08-20 Thread Jiajun Xie (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiajun Xie updated CALCITE-5944: Description: For the sql {code:java} select * from emp tablesample system(20) {code} `mq.getRowCo

[jira] [Created] (CALCITE-5944) RelMdRowCount can return more accurate rowCount

2023-08-20 Thread Jiajun Xie (Jira)
Jiajun Xie created CALCITE-5944: --- Summary: RelMdRowCount can return more accurate rowCount Key: CALCITE-5944 URL: https://issues.apache.org/jira/browse/CALCITE-5944 Project: Calcite Issue Type:

[jira] [Commented] (CALCITE-5943) RelMdSelectivity can return more precise selectivity for Sample

2023-08-20 Thread Jiajun Xie (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756466#comment-17756466 ] Jiajun Xie commented on CALCITE-5943: - Selectivity is for predicate, maybe it is no

[jira] [Updated] (CALCITE-5943) RelMdSelectivity can return more precise selectivity for Sample

2023-08-20 Thread Jiajun Xie (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiajun Xie updated CALCITE-5943: Issue Type: Improvement (was: Bug) Priority: Minor (was: Major) > RelMdSelectivity can re

[jira] [Updated] (CALCITE-5943) RelMdSelectivity can return more precise selectivity for Sample

2023-08-20 Thread Jiajun Xie (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiajun Xie updated CALCITE-5943: Description: For the SQL ``` select * from emp tablesample bernoulli(50) ``` selectivity is 1

[jira] [Updated] (CALCITE-5943) RelMdSelectivity can return more precise selectivity for Sample

2023-08-20 Thread Jiajun Xie (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiajun Xie updated CALCITE-5943: Description: For the SQL {code:java} select * from emp tablesample bernoulli(50) {code} selectivi

[jira] [Closed] (CALCITE-5942) Remove unused import in SqlAbstractParserImpl

2023-08-20 Thread ZhangJian He (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ZhangJian He closed CALCITE-5942. - Resolution: Invalid > Remove unused import in SqlAbstractParserImpl > -

[jira] [Commented] (CALCITE-5942) Remove unused import in SqlAbstractParserImpl

2023-08-20 Thread ZhangJian He (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756463#comment-17756463 ] ZhangJian He commented on CALCITE-5942: --- That's a error report. I will close it

[jira] [Created] (CALCITE-5943) RelMdSelectivity can return more precise selectivity for Sample

2023-08-20 Thread Jiajun Xie (Jira)
Jiajun Xie created CALCITE-5943: --- Summary: RelMdSelectivity can return more precise selectivity for Sample Key: CALCITE-5943 URL: https://issues.apache.org/jira/browse/CALCITE-5943 Project: Calcite

[jira] [Created] (CALCITE-5942) Remove unused import in SqlAbstractParserImpl

2023-08-20 Thread ZhangJian He (Jira)
ZhangJian He created CALCITE-5942: - Summary: Remove unused import in SqlAbstractParserImpl Key: CALCITE-5942 URL: https://issues.apache.org/jira/browse/CALCITE-5942 Project: Calcite Issue Typ

[jira] [Resolved] (CALCITE-985) Validate MERGE

2023-08-20 Thread Jiajun Xie (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiajun Xie resolved CALCITE-985. Resolution: Fixed > Validate MERGE > -- > > Key: CALCITE-985 >

[jira] [Commented] (CALCITE-985) Validate MERGE

2023-08-20 Thread Jiajun Xie (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756459#comment-17756459 ] Jiajun Xie commented on CALCITE-985: Fixed in [dc3f11b|https://github.com/apache/ca

[jira] [Commented] (CALCITE-5937) The parsing error should not be thrown even if there is no Hint in Hint Statement

2023-08-20 Thread Jiajun Xie (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756454#comment-17756454 ] Jiajun Xie commented on CALCITE-5937: - [~shenlang], You didn't answer my question.