[jira] [Created] (CALCITE-2694) Improve type conversion with respect to charset and collation

2018-11-22 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-2694: --- Summary: Improve type conversion with respect to charset and collation Key: CALCITE-2694 URL: https://issues.apache.org/jira/browse/CALCITE-2694 Project: Calcite Issu

[jira] [Created] (CALCITE-2691) Improve character set and collate support

2018-11-22 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-2691: --- Summary: Improve character set and collate support Key: CALCITE-2691 URL: https://issues.apache.org/jira/browse/CALCITE-2691 Project: Calcite Issue Type: Improvement

[jira] [Created] (CALCITE-2693) Allow literal creation with charsets other than LATIN1 and UTF16

2018-11-22 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-2693: --- Summary: Allow literal creation with charsets other than LATIN1 and UTF16 Key: CALCITE-2693 URL: https://issues.apache.org/jira/browse/CALCITE-2693 Project: Calcite I

[jira] [Updated] (CALCITE-2691) Improve character set and collation support

2018-11-22 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Xu updated CALCITE-2691: Description: Current Calcite implementation lacks full support on charset and collation. This is an umbre

[jira] [Updated] (CALCITE-2692) Introduce default charset and collation to type system interface

2018-11-22 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Xu updated CALCITE-2692: Summary: Introduce default charset and collation to type system interface (was: Introduce default charse

[jira] [Created] (CALCITE-2692) Introduce default charset and collate to type system interface

2018-11-22 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-2692: --- Summary: Introduce default charset and collate to type system interface Key: CALCITE-2692 URL: https://issues.apache.org/jira/browse/CALCITE-2692 Project: Calcite Iss

[jira] [Updated] (CALCITE-2691) Improve character set and collation support

2018-11-22 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Xu updated CALCITE-2691: Summary: Improve character set and collation support (was: Improve character set and collate support) >

[jira] [Commented] (CALCITE-2619) Reduce string literal creation cost by removing unnecessary charset check

2018-11-09 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16682246#comment-16682246 ] Ted Xu commented on CALCITE-2619: - Thanks [~julianhyde], I opened another PR [https://

[jira] [Updated] (CALCITE-2619) Reduce string literal creation cost by removing unnecessary charset check

2018-11-09 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Xu updated CALCITE-2619: Summary: Reduce string literal creation cost by removing unnecessary charset check (was: Reduce string l

[jira] [Commented] (CALCITE-2619) Reduce string literal creation cost by removing charset check

2018-11-08 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680757#comment-16680757 ] Ted Xu commented on CALCITE-2619: - [~julianhyde] sorry for the late reply, I was alread

[jira] [Resolved] (CALCITE-2646) Support nullable struct type

2018-10-29 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Xu resolved CALCITE-2646. - Resolution: Duplicate > Support nullable struct type > > >

[jira] [Updated] (CALCITE-2646) Support nullable struct type

2018-10-29 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Xu updated CALCITE-2646: Issue Type: Bug (was: Improvement) > Support nullable struct type > > >

[jira] [Created] (CALCITE-2646) Support nullable struct type

2018-10-29 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-2646: --- Summary: Support nullable struct type Key: CALCITE-2646 URL: https://issues.apache.org/jira/browse/CALCITE-2646 Project: Calcite Issue Type: Improvement Re

[jira] [Commented] (CALCITE-2619) Reduce string literal creation cost by removing charset check

2018-10-22 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16659943#comment-16659943 ] Ted Xu commented on CALCITE-2619: - Thanks [~lemire] for the test and blog post. We shou

[jira] [Commented] (CALCITE-2619) Reduce string literal creation cost by removing charset check

2018-10-14 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16649663#comment-16649663 ] Ted Xu commented on CALCITE-2619: - Great! Thanks [~julianhyde] and [~lemire]! [~lemire

[jira] [Assigned] (CALCITE-2619) Reduce string literal creation cost by removing charset check

2018-10-14 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Xu reassigned CALCITE-2619: --- Assignee: Julian Hyde (was: Ted Xu) > Reduce string literal creation cost by removing charset che

[jira] [Comment Edited] (CALCITE-2619) Reduce string literal creation cost by removing charset check

2018-10-11 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16647315#comment-16647315 ] Ted Xu edited comment on CALCITE-2619 at 10/12/18 3:03 AM: --- A

[jira] [Commented] (CALCITE-2619) Reduce string literal creation cost by removing charset check

2018-10-11 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16647315#comment-16647315 ] Ted Xu commented on CALCITE-2619: - As for the cost distribution, I did a quick test:  

[jira] [Assigned] (CALCITE-2619) Reduce string literal creation cost by removing charset check

2018-10-11 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Xu reassigned CALCITE-2619: --- Assignee: Ted Xu (was: Julian Hyde) > Reduce string literal creation cost by removing charset che

[jira] [Commented] (CALCITE-2619) Reduce string literal creation cost by removing charset check

2018-10-11 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16646165#comment-16646165 ] Ted Xu commented on CALCITE-2619: - Thanks [~julianhyde], I created a pull request at [

[jira] [Created] (CALCITE-2619) Reduce string literal creation cost by removing charset check

2018-10-10 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-2619: --- Summary: Reduce string literal creation cost by removing charset check Key: CALCITE-2619 URL: https://issues.apache.org/jira/browse/CALCITE-2619 Project: Calcite Issu

[jira] [Commented] (CALCITE-2616) Can't create Unicode literal by RelBuilder

2018-10-10 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16644966#comment-16644966 ] Ted Xu commented on CALCITE-2616: - We have encountered the same issue here. The root ca

[jira] [Commented] (CALCITE-1934) Make VolcanoPlanner reentrant

2017-08-12 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16124512#comment-16124512 ] Ted Xu commented on CALCITE-1934: - Thanks [~julianhyde]! CALCITE-1536 should fix my iss

[jira] [Commented] (CALCITE-1933) Cost estimation for expression evaluate

2017-08-12 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16124507#comment-16124507 ] Ted Xu commented on CALCITE-1933: - Thanks [~julianhyde] for the reply. You're right, ex

[jira] [Created] (CALCITE-1934) Make VolcanoPlanner reentrant

2017-08-09 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-1934: --- Summary: Make VolcanoPlanner reentrant Key: CALCITE-1934 URL: https://issues.apache.org/jira/browse/CALCITE-1934 Project: Calcite Issue Type: New Feature R

[jira] [Created] (CALCITE-1933) Cost estimation for expression evaluate

2017-08-09 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-1933: --- Summary: Cost estimation for expression evaluate Key: CALCITE-1933 URL: https://issues.apache.org/jira/browse/CALCITE-1933 Project: Calcite Issue Type: New Feature

[jira] [Commented] (CALCITE-1925) JaninoRelMetadataProvider to cache null value

2017-08-08 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16119264#comment-16119264 ] Ted Xu commented on CALCITE-1925: - Thanks [~julianhyde]! > JaninoRelMetadataProvider to

[jira] [Commented] (CALCITE-1925) JaninoRelMetadataProvider to cache null value

2017-08-07 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16116370#comment-16116370 ] Ted Xu commented on CALCITE-1925: - It's a bit hard to create a unit test. [~julianhyde]

[jira] [Commented] (CALCITE-1925) JaninoRelMetadataProvider to cache null value

2017-08-04 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16114118#comment-16114118 ] Ted Xu commented on CALCITE-1925: - Here https://github.com/apache/calcite/pull/507 is a

[jira] [Created] (CALCITE-1925) JaninoRelMetadataProvider to cache null value

2017-08-04 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-1925: --- Summary: JaninoRelMetadataProvider to cache null value Key: CALCITE-1925 URL: https://issues.apache.org/jira/browse/CALCITE-1925 Project: Calcite Issue Type: Improveme

[jira] [Commented] (CALCITE-1920) Add IS_NOT_NULL predicate on not-nullable equi-join keys

2017-08-02 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16112147#comment-16112147 ] Ted Xu commented on CALCITE-1920: - Looks like CALCITE-1526 already fixed this one. > Ad

[jira] [Closed] (CALCITE-1920) Add IS_NOT_NULL predicate on not-nullable equi-join keys

2017-08-02 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Xu closed CALCITE-1920. --- Resolution: Duplicate > Add IS_NOT_NULL predicate on not-nullable equi-join keys > -

[jira] [Created] (CALCITE-1920) Add IS_NOT_NULL predicate on not-nullable equi-join keys

2017-08-02 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-1920: --- Summary: Add IS_NOT_NULL predicate on not-nullable equi-join keys Key: CALCITE-1920 URL: https://issues.apache.org/jira/browse/CALCITE-1920 Project: Calcite Issue Type

[jira] [Commented] (CALCITE-1883) HepPlanner should force garbage collect whenever a root registered

2017-07-17 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16090938#comment-16090938 ] Ted Xu commented on CALCITE-1883: - Thanks [~julianhyde], the pull request is updated.

[jira] [Commented] (CALCITE-1883) HepPlanner should force garbage collect whenever a root registered

2017-07-14 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16088379#comment-16088379 ] Ted Xu commented on CALCITE-1883: - [~julianhyde] I've issued a pull request here: https

[jira] [Created] (CALCITE-1883) HepPlanner should force garbage collect whenever a root registered

2017-07-10 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-1883: --- Summary: HepPlanner should force garbage collect whenever a root registered Key: CALCITE-1883 URL: https://issues.apache.org/jira/browse/CALCITE-1883 Project: Calcite

[jira] [Commented] (CALCITE-1846) Metadata pulled up predicates should skip non-deterministic calls

2017-06-19 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16055035#comment-16055035 ] Ted Xu commented on CALCITE-1846: - Thanks [~jcamachorodriguez]! > Metadata pulled up pr

[jira] [Commented] (CALCITE-1846) Metadata pulled up predicates should skip non-deterministic calls

2017-06-18 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16053460#comment-16053460 ] Ted Xu commented on CALCITE-1846: - [~jcamachorodriguez] could you please have a look? Th

[jira] [Updated] (CALCITE-1846) Metadata pulled up predicates should skip non-deterministic calls

2017-06-17 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Xu updated CALCITE-1846: Summary: Metadata pulled up predicates should skip non-deterministic calls (was: Metadata pulled up predi

[jira] [Commented] (CALCITE-1846) Metadata pulled up predicates should skip undeterministic calls

2017-06-17 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16053058#comment-16053058 ] Ted Xu commented on CALCITE-1846: - Thanks [~julianhyde]. Pull request updated https://g

[jira] [Commented] (CALCITE-1846) Metadata pulled up predicates should skip undeterministic calls

2017-06-16 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16052735#comment-16052735 ] Ted Xu commented on CALCITE-1846: - Hi guys, I've issued a pull request https://github.co

[jira] [Created] (CALCITE-1846) Metadata pulled up predicates should skip undeterministic calls

2017-06-16 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-1846: --- Summary: Metadata pulled up predicates should skip undeterministic calls Key: CALCITE-1846 URL: https://issues.apache.org/jira/browse/CALCITE-1846 Project: Calcite Is

[jira] [Commented] (CALCITE-1337) Lazy evaluate RexCall digests

2016-08-01 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15403437#comment-15403437 ] Ted Xu commented on CALCITE-1337: - Your tests added accordingly. > Lazy evaluate RexCa

[jira] [Commented] (CALCITE-1337) Lazy evaluate RexCall digests

2016-08-01 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15403302#comment-15403302 ] Ted Xu commented on CALCITE-1337: - Thanks [~julianhyde], rope looks a good solution for

[jira] [Commented] (CALCITE-1337) Lazy evaluate RexCall digests

2016-08-01 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15403293#comment-15403293 ] Ted Xu commented on CALCITE-1337: - Hi [~julianhyde] please have a look on my patch http

[jira] [Created] (CALCITE-1337) Lazy evaluate RexCall digests

2016-08-01 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-1337: --- Summary: Lazy evaluate RexCall digests Key: CALCITE-1337 URL: https://issues.apache.org/jira/browse/CALCITE-1337 Project: Calcite Issue Type: Improvement Com

[jira] [Updated] (CALCITE-1299) Reference type of Pulled Up Predicates is not handled properly

2016-06-21 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Xu updated CALCITE-1299: Description: RelMdPredicates is not handling reference types well. Noticing the following query: {code:t

[jira] [Commented] (CALCITE-1299) Reference type of Pulled Up Predicates is not handled properly

2016-06-21 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15341322#comment-15341322 ] Ted Xu commented on CALCITE-1299: - I'd like to take this one. The root cause seems to

[jira] [Created] (CALCITE-1299) Reference type of Pulled Up Predicates is not handled properly

2016-06-21 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-1299: --- Summary: Reference type of Pulled Up Predicates is not handled properly Key: CALCITE-1299 URL: https://issues.apache.org/jira/browse/CALCITE-1299 Project: Calcite Iss

[jira] [Commented] (CALCITE-1076) Metadata distribution is broken due to last refactor

2016-02-04 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15133744#comment-15133744 ] Ted Xu commented on CALCITE-1076: - Thanks [~julianhyde]. The pull request is updated.

[jira] [Commented] (CALCITE-1076) Metadata distribution is broken due to last refactor

2016-02-04 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15133559#comment-15133559 ] Ted Xu commented on CALCITE-1076: - Thanks [~julianhyde], that's exactly what I'm expecti

[jira] [Commented] (CALCITE-1076) Metadata distribution is broken due to last refactor

2016-02-03 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15131796#comment-15131796 ] Ted Xu commented on CALCITE-1076: - [~julianhyde] thanks for looking into this. {{RelDis

[jira] [Commented] (CALCITE-1076) Metadata distribution is broken due to last refactor

2016-02-03 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15131704#comment-15131704 ] Ted Xu commented on CALCITE-1076: - I created a pull request at https://github.com/apache

[jira] [Created] (CALCITE-1076) Metadata distribution is broken due to last refactor

2016-02-03 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-1076: --- Summary: Metadata distribution is broken due to last refactor Key: CALCITE-1076 URL: https://issues.apache.org/jira/browse/CALCITE-1076 Project: Calcite Issue Type: Bu

[jira] [Updated] (CALCITE-1043) RexOptUtil does not support function table other than SqlStdOperatorTable

2016-01-05 Thread Ted Xu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Xu updated CALCITE-1043: Attachment: calcite-1043.patch Uploaded an initial patch to check operator SqlKind rather than compare at

[jira] [Created] (CALCITE-1043) RexOptUtil does not support function table other than SqlStdOperatorTable

2016-01-05 Thread Ted Xu (JIRA)
Ted Xu created CALCITE-1043: --- Summary: RexOptUtil does not support function table other than SqlStdOperatorTable Key: CALCITE-1043 URL: https://issues.apache.org/jira/browse/CALCITE-1043 Project: Calcite