(calcite) tag calcite-1.28.0 updated (18b044d725 -> 2326cf8dc9)

2023-11-13 Thread vladimirsitnikov
This is an automated email from the ASF dual-hosted git repository. vladimirsitnikov pushed a change to tag calcite-1.28.0 in repository https://gitbox.apache.org/repos/asf/calcite.git *** WARNING: tag calcite-1.28.0 was modified! *** from 18b044d725 (tag) to 2326cf8dc9 (commit

(calcite) tag calcite-1.28.0 updated (2326cf8dc9 -> dec167ac18)

2023-11-13 Thread vladimirsitnikov
This is an automated email from the ASF dual-hosted git repository. vladimirsitnikov pushed a change to tag calcite-1.28.0 in repository https://gitbox.apache.org/repos/asf/calcite.git *** WARNING: tag calcite-1.28.0 was modified! *** from 2326cf8dc9 (commit) to dec167ac18 (commit

calcite git commit: Fix CPU spin in ReflectiveRelMetadataProvider.apply -> HashMap.get

2016-01-13 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 5323d8d48 -> 9a17c178a Fix CPU spin in ReflectiveRelMetadataProvider.apply -> HashMap.get The map in question is shared between multiple threads and updated at the same time. Thus the map should be a ConcurrentMap. Project: http://git-

calcite git commit: Fix CPU spin in ReflectiveRelMetadataProvider.apply -> HashMap.get [Forced Update!]

2016-01-13 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 9a17c178a -> fe91d4676 (forced update) Fix CPU spin in ReflectiveRelMetadataProvider.apply -> HashMap.get The map in question is shared between multiple threads and updated at the same time. Thus the map should be a ConcurrentMap. Probl

calcite git commit: [CALCITE-980] Fix AND and OR implementation in Enumerable convention

2015-12-10 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 47e0e7c95 -> 963ba1b1b [CALCITE-980] Fix AND and OR implementation in Enumerable convention Previously it could fail with NPE or return wrong result fixes #169 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http:/

calcite git commit: Add benchmark of Parser.create(sql).parseQuery()

2016-01-09 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master b94a00e33 -> 08647e71e Add benchmark of Parser.create(sql).parseQuery() Closes #176 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/08647e71 Tree: http://git-wip

calcite git commit: Attempt to workaround javac issue by manual inlining of parseQuery

2016-01-10 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 08647e71e -> d943a4c16 Attempt to workaround javac issue by manual inlining of parseQuery Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/d943a4c1 Tree: http://gi

[calcite] Git Push Summary [forced push!] [Forced Update!]

2016-01-10 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master d943a4c16 -> 08647e71e (forced update)

calcite git commit: Fix "endPosTable already set" from javac

2016-01-10 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 08647e71e -> b37384c88 Fix "endPosTable already set" from javac Non clean build fails with javac exception. It is believed that the cause is that Maven tries to run annotation pre-proessor over already pre-processed files. Running annota

[3/5] calcite git commit: [CALCITE-2430] AssertionError: RelDataTypeImpl.getFieldList when SQL Advisor inspects non-struct field

2018-07-30 Thread vladimirsitnikov
[CALCITE-2430] AssertionError: RelDataTypeImpl.getFieldList when SQL Advisor inspects non-struct field Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/1a94885a Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/1a9

[5/5] calcite git commit: Java 8: use computeIfAbsent when possible

2018-07-30 Thread vladimirsitnikov
Java 8: use computeIfAbsent when possible Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/8b097368 Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/8b097368 Diff: http://git-wip-us.apache.org/repos/asf/calcite/dif

[1/5] calcite git commit: test: add testSqlAdvisorTableInSchema

2018-07-30 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 41a067718 -> 8b0973687 test: add testSqlAdvisorTableInSchema The test validates that SQL Advisor suggets table names in autocomplete Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos

[2/5] calcite git commit: [CALCITE-2429] NPE: SqlValidatorImpl.lookupFieldNamespace when SQL Advisor observes non-existing field

2018-07-30 Thread vladimirsitnikov
[CALCITE-2429] NPE: SqlValidatorImpl.lookupFieldNamespace when SQL Advisor observes non-existing field Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/a18a3800 Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/a18

[4/5] calcite git commit: [CALCITE-2431] AssertionError: SqlUtil.getAncestry when providing completion hints for sub-schema

2018-07-30 Thread vladimirsitnikov
[CALCITE-2431] AssertionError: SqlUtil.getAncestry when providing completion hints for sub-schema Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/466b3279 Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/466b3279

calcite git commit: [CALCITE-2428] Cassandra unit test fails to parse JDK version string (Andrei Sereda)

2018-08-01 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 8b0973687 -> a0983768d [CALCITE-2428] Cassandra unit test fails to parse JDK version string (Andrei Sereda) Previous version failed to parse correctly versions like: 9, 10-ea, 11-pre etc. Change method TestUtil.getJavaMajorVersion() to u

calcite git commit: [CALCITE-2416] Assertion error when determining monotonicity (Alina Ipatina)

2018-08-01 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master a0983768d -> 0bb924989 [CALCITE-2416] Assertion error when determining monotonicity (Alina Ipatina) closes #766 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/0

calcite git commit: fix typo in HepPlanner trace message (Dylan)

2018-08-01 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 0bb924989 -> c11376590 fix typo in HepPlanner trace message (Dylan) closes #754 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/c1137659 Tree: http://git-wip-us.

[3/3] calcite git commit: [CALCITE-2435] tests: refactor SqlTestFactory

2018-08-02 Thread vladimirsitnikov
[CALCITE-2435] tests: refactor SqlTestFactory closes #771 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/96b28f7b Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/96b28f7b Diff: http://git-wip-us.apache.org/repo

[1/3] calcite git commit: [CALCITE-2435] tests: refactor SqlTestFactory

2018-08-02 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master c11376590 -> 96b28f7ba http://git-wip-us.apache.org/repos/asf/calcite/blob/96b28f7b/core/src/test/java/org/apache/calcite/test/catalog/CompoundNameColumnResolver.java -- d

[2/3] calcite git commit: [CALCITE-2435] tests: refactor SqlTestFactory

2018-08-02 Thread vladimirsitnikov
http://git-wip-us.apache.org/repos/asf/calcite/blob/96b28f7b/core/src/test/java/org/apache/calcite/test/MockCatalogReader.java -- diff --git a/core/src/test/java/org/apache/calcite/test/MockCatalogReader.java b/core/src/test/java/

calcite git commit: SqlTestFactory: use lazy initialization of objects

2018-08-02 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 96b28f7ba -> 7088dc726 SqlTestFactory: use lazy initialization of objects This avoids creating catalogReader objects when several with(key, value) methods are called in sequence Project: http://git-wip-us.apache.org/repos/asf/calcite/re

calcite git commit: test: update test name current -> javaMajorVersionExceeds6

2018-08-09 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 7088dc726 -> 0e6733bf8 test: update test name current -> javaMajorVersionExceeds6 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/0e6733bf Tree: http://git-wip-us

calcite git commit: tests: add TestUtilTest to CalciteSuite

2018-08-09 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 0e6733bf8 -> 3c6b5ec75 tests: add TestUtilTest to CalciteSuite Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/3c6b5ec7 Tree: http://git-wip-us.apache.org/repos/a

calcite git commit: [CALCITE-2462] RexProgramTest: move "rex building" methods to base class

2018-08-16 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 62a0de58d -> 45782ed3e [CALCITE-2462] RexProgramTest: move "rex building" methods to base class This simplifies creating Rex-based input data for tests fixes #788 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: htt

calcite git commit: [CALCITE-2462] RexProgramTest: replace nullLiteral->nullInt, unknownLiteral->nullBool for brevity

2018-08-17 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 431e803bb -> d1c2e894a [CALCITE-2462] RexProgramTest: replace nullLiteral->nullInt, unknownLiteral->nullBool for brevity Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite

calcite git commit: [CALCITE-2271] Join of two views with window aggregates produces incorrect results or NPE

2018-08-28 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 6cad2ee13 -> af3e35d64 [CALCITE-2271] Join of two views with window aggregates produces incorrect results or NPE Avoid NPE in BlockBuilder.append when empty variable initializer is used closes #673 Project: http://git-wip-us.apache.or

calcite git commit: [CALCITE-2327] Avoid simplification of x AND NOT(x) to false for nullable x

2018-08-28 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master af3e35d64 -> 141781bf4 [CALCITE-2327] Avoid simplification of x AND NOT(x) to false for nullable x x AND NOT(x) ==> FALSE AND x IS NULL closes #707 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.

calcite git commit: [CALCITE-311] Added a test-case for filter after window aggregate

2018-08-28 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 141781bf4 -> 9f7e565ff [CALCITE-311] Added a test-case for filter after window aggregate Filters should not be pushed through window aggregate since it might impact results. Project: http://git-wip-us.apache.org/repos/asf/calcite/repo

[2/2] calcite git commit: [CALCITE-2494] RexFieldAccess should implement equals/hashCode

2018-08-28 Thread vladimirsitnikov
[CALCITE-2494] RexFieldAccess should implement equals/hashCode Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/6b2b9ffd Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/6b2b9ffd Diff: http://git-wip-us.apache.org/

[1/2] calcite git commit: [CALCITE-2327] RexSimplify: AND(x, y, NOT(y)) ==> AND(x, null, IS NULL(y))

2018-08-28 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 9f7e565ff -> c8e91ea1d [CALCITE-2327] RexSimplify: AND(x, y, NOT(y)) ==> AND(x, null, IS NULL(y)) Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/c8e91ea1 Tree: h

calcite git commit: [CALCITE-2495] Support encoded URLs in calcite.util.Source, and use it for URL->File conversion in tests

2018-08-29 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 02794e2b9 -> 2f33a0c57 [CALCITE-2495] Support encoded URLs in calcite.util.Source, and use it for URL->File conversion in tests For the record: 1) URL.getPath() produces %20, so it is added to forbidden signatures 2) Paths.get(url.toURI(

calcite git commit: MockCatalogReader is used in testing, so cache should be disabled there to avoid thread conflicts and/or stale results

2018-08-29 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 2f33a0c57 -> ca3780302 MockCatalogReader is used in testing, so cache should be disabled there to avoid thread conflicts and/or stale results Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.

calcite git commit: Support AND, OR, COALESCE, IS...DISTINCT in RexUtil#op

2018-08-29 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master ca3780302 -> 6a22cc25f Support AND, OR, COALESCE, IS...DISTINCT in RexUtil#op Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/6a22cc25 Tree: http://git-wip-us.apa

calcite git commit: [CALCITE-2505] Add ignored test for fail in RexSimplify with IS DISTINCT FROM

2018-08-29 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 6a22cc25f -> 80c04cb60 [CALCITE-2505] Add ignored test for fail in RexSimplify with IS DISTINCT FROM Simplification of isFalse(isNotDistinctFrom(vBool(0), vBool(1))) causes AssertionError: wrong operand count 1 for IS DISTINCT FROM Pro

calcite git commit: [CALCITE-2506] Add ignored test for fail in RexSimplify with coalesce

2018-08-29 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 80c04cb60 -> 1c30edca1 [CALCITE-2506] Add ignored test for fail in RexSimplify with coalesce coalesce(unaryPlus(nullInt), unaryPlus(vInt())) fails with result mismatch: when applied to {?0.int0=-1}, COALESCE(+(null), +(?0.int0)) yielded

calcite git commit: [CALCITE-1026] Fix ModelTest#testYamlFileDetection when source folder has spaces

2018-08-31 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 370e95ab8 -> 29a925a62 [CALCITE-1026] Fix ModelTest#testYamlFileDetection when source folder has spaces Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/29a925a6 T

calcite git commit: [CALCITE-1026] Remove unused import

2018-08-31 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 29a925a62 -> 4e9064fa9 [CALCITE-1026] Remove unused import Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/4e9064fa Tree: http://git-wip-us.apache.org/repos/asf/c

calcite git commit: [CALCITE-2520] Make SparkHandlerImpl#compile silent by default, print code in calcite.debug=true mode only

2018-08-31 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 4e9064fa9 -> 0c0f61e96 [CALCITE-2520] Make SparkHandlerImpl#compile silent by default, print code in calcite.debug=true mode only Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/as

calcite git commit: [CALCITE-2519] Silence ERROR logs from CalciteException, SqlValidatorException during tests

2018-08-31 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 0c0f61e96 -> d74027c98 [CALCITE-2519] Silence ERROR logs from CalciteException, SqlValidatorException during tests Use threadCount=1/perCoreThreadCount=false to disable parallel test execution at Travis Previous option -Dsurefire.paral

calcite git commit: Skip second Checkstyle execution during Travis CI build

2018-08-31 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master d74027c98 -> b1789ba18 Skip second Checkstyle execution during Travis CI build Checkstyle is validated during mvn install part, so there's no need to repeat that Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http

calcite git commit: [CALCITE-2491] Refactor NameSet, NameMap, and NameMultimap

2018-08-31 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master b1789ba18 -> 0a330e79f [CALCITE-2491] Refactor NameSet, NameMap, and NameMultimap Collections are thread-safe when used in read-only scenarios. Name*.immutableCopyOf are always thread-safe as writes are prohibited :) fixes #815 Project

calcite git commit: [CALCITE-2512] Move StreamTest#ROW_GENERATOR to Table.scan().iterator to make it not shared between threads (Sergey Nuyanzin)

2018-08-31 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 0a330e79f -> 2817bda61 [CALCITE-2512] Move StreamTest#ROW_GENERATOR to Table.scan().iterator to make it not shared between threads (Sergey Nuyanzin) fixes #813 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http:/

calcite git commit: [CALCITE-2498] fix bug when geode adapter quotes booleans as strings (Andrei Sereda)

2018-08-31 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 2817bda61 -> 9589a3606 [CALCITE-2498] fix bug when geode adapter quotes booleans as strings (Andrei Sereda) GeodeFilter was incorrectly quoting boolean literals as SQL strings ('true' instead of true) fixes #809 Project: http://git-w

calcite git commit: [CALCITE-2522] Remove e.printStackTrace() from CalciteAssert#returns

2018-09-01 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 9589a3606 -> 5e765bd1a [CALCITE-2522] Remove e.printStackTrace() from CalciteAssert#returns Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/5e765bd1 Tree: http://

[7/9] calcite git commit: [CALCITE-2475] SqlAdvisor: support MINUS

2018-09-05 Thread vladimirsitnikov
[CALCITE-2475] SqlAdvisor: support MINUS Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/4afea52a Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/4afea52a Diff: http://git-wip-us.apache.org/repos/asf/calcite/diff

[6/9] calcite git commit: [CALCITE-2434] SqlAdvisor: support hints for nested tables/schemas

2018-09-05 Thread vladimirsitnikov
[CALCITE-2434] SqlAdvisor: support hints for nested tables/schemas Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/1ed6b757 Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/1ed6b757 Diff: http://git-wip-us.apache.

[3/9] calcite git commit: [CALCITE-2473] SqlAdvisor: support -- comments

2018-09-05 Thread vladimirsitnikov
[CALCITE-2473] SqlAdvisor: support -- comments Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/1c913e1b Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/1c913e1b Diff: http://git-wip-us.apache.org/repos/asf/calcit

[8/9] calcite git commit: [CALCITE-2478] SqlAdvisor: purge from_clause when _suggest_ token is located in one of the from sub-queries

2018-09-05 Thread vladimirsitnikov
[CALCITE-2478] SqlAdvisor: purge from_clause when _suggest_ token is located in one of the from sub-queries Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/67923a27 Tree: http://git-wip-us.apache.org/repos/asf/calcite/tre

[5/9] calcite git commit: [CALCITE-2474] SqlAdvisor: avoid NPE in lookupFromHints where FROM is empty

2018-09-05 Thread vladimirsitnikov
[CALCITE-2474] SqlAdvisor: avoid NPE in lookupFromHints where FROM is empty Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/14a98e93 Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/14a98e93 Diff: http://git-wip-u

[1/9] calcite git commit: [CALCITE-2479] SqlAdvisor: automatically quote identifiers that look like SQL keywords

2018-09-05 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 76a8cfd18 -> c2ae9f0d5 [CALCITE-2479] SqlAdvisor: automatically quote identifiers that look like SQL keywords Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/c2a

[2/9] calcite git commit: [CALCITE-2477] SqlAdvisor: scalar sub-query support

2018-09-05 Thread vladimirsitnikov
[CALCITE-2477] SqlAdvisor: scalar sub-query support Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/9f6c0672 Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/9f6c0672 Diff: http://git-wip-us.apache.org/repos/asf/c

[4/9] calcite git commit: [CALCITE-2433] SqlAdvisor: support configurable quoting characters

2018-09-05 Thread vladimirsitnikov
[CALCITE-2433] SqlAdvisor: support configurable quoting characters Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/89e22e3f Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/89e22e3f Diff: http://git-wip-us.apache.

[9/9] calcite git commit: [CALCITE-2476] SqlAdvisor: produce hints when sub-query with * is present in query

2018-09-05 Thread vladimirsitnikov
[CALCITE-2476] SqlAdvisor: produce hints when sub-query with * is present in query simplifySql produced 0 AS "*", and it caused the SQL to fail validation. The fix is to disable transformation of expressions to "0 as ...", so it keeps select * as is. Project: http://git-wip-us.apache.org/repos

calcite git commit: [CALCITE-2484] Move dynamic tests to a separate class like SqlValidatorDynamicTest, and avoid reuse of MockCatalogReaderDynamic

2018-09-05 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master c2ae9f0d5 -> 23eb11eb3 [CALCITE-2484] Move dynamic tests to a separate class like SqlValidatorDynamicTest, and avoid reuse of MockCatalogReaderDynamic Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-

calcite git commit: [CALCITE-2484] Add SqlValidatorDynamicTest to CalciteSuite

2018-09-05 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 23eb11eb3 -> 0af6e4133 [CALCITE-2484] Add SqlValidatorDynamicTest to CalciteSuite Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/0af6e413 Tree: http://git-wip-us

calcite git commit: [CALCITE-2521] Guard RelMetadataTest#testMetadataHandlerCacheLimit with CalciteAssert.ENABLE_SLOW

2018-09-05 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 0af6e4133 -> fa7b48267 [CALCITE-2521] Guard RelMetadataTest#testMetadataHandlerCacheLimit with CalciteAssert.ENABLE_SLOW The test does not reproduce the original bug, and it is very slow to execute. Project: http://git-wip-us.apache.or

calcite git commit: [CALCITE-2523] Guard PartiallyOrderedSetTest#testPosetBitsLarge with CalciteAssert.ENABLE_SLOW

2018-09-05 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master fa7b48267 -> 3df638c9d [CALCITE-2523] Guard PartiallyOrderedSetTest#testPosetBitsLarge with CalciteAssert.ENABLE_SLOW Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/co

calcite git commit: Reduce HepPlannerTest#testRuleApplyCount complexity

2018-09-06 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 3df638c9d -> 88f125541 Reduce HepPlannerTest#testRuleApplyCount complexity Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/88f12554 Tree: http://git-wip-us.apache

calcite git commit: [CALCITE-2412] Add Windows CI via AppVeyor (Sergey Nuyanzin)

2018-09-11 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 8f43b3b8a -> 945399019 [CALCITE-2412] Add Windows CI via AppVeyor (Sergey Nuyanzin) fixes #757 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/94539901 Tree: htt

calcite git commit: [CALCITE-2505] Fix assertion error when simplifying is [not] distinct expressions (Haisheng Yuan)

2018-09-12 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 945399019 -> 453441cfd [CALCITE-2505] Fix assertion error when simplifying is [not] distinct expressions (Haisheng Yuan) Sample expression that caused failure: isFalse(isNotDistinctFrom(vBool(0), vBool(1))) closes #828 Project: http:

calcite git commit: Increase timeout for Cassandra daemon startup for CassandraAdapterTest

2018-09-12 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 453441cfd -> eb85242e1 Increase timeout for Cassandra daemon startup for CassandraAdapterTest Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/eb85242e Tree: http:

calcite git commit: Remove redundant 'new' expression in constant array creation

2018-09-13 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master eb85242e1 -> ee5b2f750 Remove redundant 'new' expression in constant array creation Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/ee5b2f75 Tree: http://git-wip-

calcite git commit: [CALCITE-538] Improve re-compilation times by skipping parser.java update on each build

2018-09-16 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 001a8fd37 -> ffd947fc9 [CALCITE-538] Improve re-compilation times by skipping parser.java update on each build fmpp-maven-plugin updated SqlParserImpl.java on each build even in case the file was not modified. It causes maven-compiler-pl

calcite git commit: [CALCITE-2558] Improve re-compilation times by skipping parser.java update on each build [Forced Update!]

2018-09-16 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master ffd947fc9 -> 79a175271 (forced update) [CALCITE-2558] Improve re-compilation times by skipping parser.java update on each build fmpp-maven-plugin updated SqlParserImpl.java on each build even in case the file was not modified. It causes

calcite git commit: [CALCITE-2559] Update Checkstyle to 7.8.2

2018-09-16 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 79a175271 -> 4b4d8037c [CALCITE-2559] Update Checkstyle to 7.8.2 It catches violations better and it caches validation results, so repeated validations are faster Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: htt

calcite git commit: [CALCITE-2504] RexProgrammFuzzyTest: fuzzer for RexNodes

2018-09-18 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 37a6f9f4f -> d9486e6c3 [CALCITE-2504] RexProgrammFuzzyTest: fuzzer for RexNodes Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/d9486e6c Tree: http://git-wip-us.a

calcite git commit: [CALCITE-2504] Add randomized test for better code coverage of rex node create and simplification [Forced Update!]

2018-09-18 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master d9486e6c3 -> 865a71e70 (forced update) [CALCITE-2504] Add randomized test for better code coverage of rex node create and simplification Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/r

calcite git commit: Update build status badges in README.md

2018-09-18 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 865a71e70 -> a02590f2f Update build status badges in README.md Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/a02590f2 Tree: http://git-wip-us.apache.org/repos/a

calcite git commit: [CALCITE-1894] CsvTest.testCsvStream failing often: add @Ignore since the test is known to fail

2018-09-18 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master a02590f2f -> ce0514690 [CALCITE-1894] CsvTest.testCsvStream failing often: add @Ignore since the test is known to fail Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/c

calcite git commit: [CALCITE-2555] RexSimplify: >=(..., null) could be simplified to null (pengzhiwei)

2018-09-19 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 79af1c9ba -> ac1b63d18 [CALCITE-2555] RexSimplify: >=(..., null) could be simplified to null (pengzhiwei) fixes #831 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/co

calcite git commit: [CALCITE-2567] Simplify IS NULL(null) to true (pengzhiwei)

2018-09-19 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master ac1b63d18 -> 1420e4da8 [CALCITE-2567] Simplify IS NULL(null) to true (pengzhiwei) fixes #835 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/1420e4da Tree: http:

calcite git commit: Remove "Now, do something with table " from standard output when implementing sequences

2018-09-19 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 1420e4da8 -> 4be1f15cd Remove "Now, do something with table " from standard output when implementing sequences SequenceImplementor was a dead code. closes #839 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http:

calcite git commit: Remove dead code: Compatible, CompatibleGuava11

2018-09-19 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 92b425aaa -> d262c860a Remove dead code: Compatible, CompatibleGuava11 closes #841 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/d262c860 Tree: http://git-wip-

calcite git commit: Avoid simplification of cast(null as integer) to false in filter expressions broken by [CALCITE-2555]

2018-09-20 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 4f1b5eff9 -> 8f202e918 Avoid simplification of cast(null as integer) to false in filter expressions broken by [CALCITE-2555] Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/cal

[4/4] calcite git commit: [CALCITE-2561] Remove dead code in Lattice constructor

2018-09-20 Thread vladimirsitnikov
[CALCITE-2561] Remove dead code in Lattice constructor Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/59b76701 Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/59b76701 Diff: http://git-wip-us.apache.org/repos/as

[3/4] calcite git commit: Apply small refactorings to Calcite codebase (Java 5, Java 7, Java 8)

2018-09-20 Thread vladimirsitnikov
Apply small refactorings to Calcite codebase (Java 5, Java 7, Java 8) Use Objects.equals when possible Replace for with foreach in Mappings Use Java 7 diamond operator to reduce code verbosity Collapse identical catch blocks to multi-catch Use Double/Float/Long/Boolean hashCode from Java 8 Remove

[1/4] calcite git commit: Apply small refactorings to Calcite codebase (Java 5, Java 7, Java 8)

2018-09-20 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 8f202e918 -> 59b76701d http://git-wip-us.apache.org/repos/asf/calcite/blob/295ab13e/spark/src/main/java/org/apache/calcite/adapter/spark/SparkRules.java -- diff --git a/s

[2/4] calcite git commit: Apply small refactorings to Calcite codebase (Java 5, Java 7, Java 8)

2018-09-20 Thread vladimirsitnikov
http://git-wip-us.apache.org/repos/asf/calcite/blob/295ab13e/core/src/main/java/org/apache/calcite/sql/fun/SqlTimestampDiffFunction.java -- diff --git a/core/src/main/java/org/apache/calcite/sql/fun/SqlTimestampDiffFunction.java

calcite git commit: Display random failure of Rex fuzzer in build logs to inspire further fixes

2018-09-20 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 59b76701d -> 32630d1a2 Display random failure of Rex fuzzer in build logs to inspire further fixes fixes #844 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/326

calcite git commit: [CALCITE-2527] Simplify (c IS NULL) OR (c IS ...) might result in AssertionError: result mismatch (pengzhiwei)

2018-09-20 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 32630d1a2 -> 64ab9408a [CALCITE-2527] Simplify (c IS NULL) OR (c IS ...) might result in AssertionError: result mismatch (pengzhiwei) fixes #864 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apa

calcite git commit: [CALCITE-2527] Simplify (c IS NULL) OR (c IS ...) might result in AssertionError: result mismatch (pengzhiwei) [Forced Update!]

2018-09-20 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 64ab9408a -> 52eda6d91 (forced update) [CALCITE-2527] Simplify (c IS NULL) OR (c IS ...) might result in AssertionError: result mismatch (pengzhiwei) fixes #846 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http:

calcite git commit: [CALCITE-2581] Avoid errors in simplifying "null and not (null or ...)" (pengzhiwei)

2018-09-21 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 40503ff65 -> 56def3946 [CALCITE-2581] Avoid errors in simplifying "null and not (null or ...)" (pengzhiwei) closes #849 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite

[2/2] calcite git commit: Avoid NullPointerException when FlatList contains null elements

2018-09-21 Thread vladimirsitnikov
Avoid NullPointerException when FlatList contains null elements Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/ef822607 Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/ef822607 Diff: http://git-wip-us.apache.org

[1/2] calcite git commit: Silence Pig, Spark, and Elasticsearch logs in tests

2018-09-21 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 56def3946 -> ef8226076 Silence Pig, Spark, and Elasticsearch logs in tests Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/3183f2ca Tree: http://git-wip-us.apache

calcite git commit: [CALCITE-2562] Remove dead code in StandardConvertletTable#convertDatetimeMinus

2018-09-21 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master ef8226076 -> 17e0a0542 [CALCITE-2562] Remove dead code in StandardConvertletTable#convertDatetimeMinus Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/17e0a054 Tr

calcite git commit: [CALCITE-2556] Simplify not(true/false) to false/true (pengzhiwei)

2018-09-22 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 2ab83e468 -> b40562bf6 [CALCITE-2556] Simplify not(true/false) to false/true (pengzhiwei) closes #853 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/b40562bf Tr

calcite git commit: Implement fuzzy generator for CASE expressions

2018-09-22 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master b40562bf6 -> b98a8e7af Implement fuzzy generator for CASE expressions Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/b98a8e7a Tree: http://git-wip-us.apache.org/

calcite git commit: [CALCITE-2413] Use raw signatures for classes with generics when producing Java code

2018-09-22 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master b98a8e7af -> 00c36467d [CALCITE-2413] Use raw signatures for classes with generics when producing Java code Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/00c36

calcite git commit: [CALCITE-2518] Add failOnWarnings to maven-javadoc-plugin configuration

2018-09-23 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 00c36467d -> d624a56ef [CALCITE-2518] Add failOnWarnings to maven-javadoc-plugin configuration Missing tags like @param, @return are excluded from warnings list. Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http:

calcite git commit: [CALCITE-2590] Remove redundant CAST when operand has exactly the same type as it is casted to

2018-09-23 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master d624a56ef -> 98f932c94 [CALCITE-2590] Remove redundant CAST when operand has exactly the same type as it is casted to Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/co

calcite git commit: [CALCITE-2526] Add test for OR with nullable comparisons (pengzhiwei)

2018-09-23 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 98f932c94 -> 464785fb2 [CALCITE-2526] Add test for OR with nullable comparisons (pengzhiwei) closes #858 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/464785fb

calcite git commit: [CALCITE-2592] Test case for EnumerableMergeJoin is never taken

2018-09-23 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 464785fb2 -> 12cda76c2 [CALCITE-2592] Test case for EnumerableMergeJoin is never taken It turns out EnumerableMergeJoin cannot be planned Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/

calcite git commit: [CALCITE-2592] Test case for EnumerableMergeJoin is never taken [Forced Update!]

2018-09-23 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 12cda76c2 -> 87c4b735b (forced update) [CALCITE-2592] Test case for EnumerableMergeJoin is never taken It turns out EnumerableMergeJoin cannot be planned Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wi

calcite git commit: Unwrap invocation target exception from QuidemTest#test

2018-09-24 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 8f1494546 -> 72f36a883 Unwrap invocation target exception from QuidemTest#test Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/72f36a88 Tree: http://git-wip-us.ap

calcite git commit: Fix JavaDoc warnings for Java 9+, and check JavaDoc in Travis CI

2018-09-24 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 72f36a883 -> 9d6899c91 Fix JavaDoc warnings for Java 9+, and check JavaDoc in Travis CI Travis verifies JavaDocs for Java 8 and 11 only to save build time. Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-

calcite git commit: [CALCITE-2586] RexSimplify: case with repeated branches results in assertion error (pengzhiwei)

2018-09-24 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 9d6899c91 -> b78dd4a7e [CALCITE-2586] RexSimplify: case with repeated branches results in assertion error (pengzhiwei) closes #860 Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/

calcite git commit: [CALCITE-2591] EnumerableDefaults#mergeJoin should throw error and not return incorrect results when inputs are not ordered (Enrico Olivelli)

2018-09-24 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master b78dd4a7e -> b9da74ee3 [CALCITE-2591] EnumerableDefaults#mergeJoin should throw error and not return incorrect results when inputs are not ordered (Enrico Olivelli) fixes #859 Project: http://git-wip-us.apache.org/repos/asf/calcite/rep

calcite git commit: Make build scripts Maven 3.3 compatible

2018-09-24 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master b9da74ee3 -> 6770e2b21 Make build scripts Maven 3.3 compatible javadoc-plugin / configuration / additionalOptions is String[], so nested tag should be used Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git

calcite git commit: [CALCITE-2458] Add Kotlin as a test dependency

2018-09-24 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 6770e2b21 -> 55d86646f [CALCITE-2458] Add Kotlin as a test dependency Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/55d86646 Tree: http://git-wip-us.apache.org/

calcite git commit: Make findbugs:jsr305 dependency optional

2018-09-24 Thread vladimirsitnikov
Repository: calcite Updated Branches: refs/heads/master 55d86646f -> 9464dd30a Make findbugs:jsr305 dependency optional It is not required at runtime, so the dependency should not be transitive Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/

  1   2   3   4   5   >