You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2019/11/11 03:56:17 UTC

[calcite] branch test-site updated (6e4e353 -> 365eb23)

This is an automated email from the ASF dual-hosted git repository.

francischuang pushed a change to branch test-site
in repository https://gitbox.apache.org/repos/asf/calcite.git.


 discard 6e4e353  Try Github actions
 discard b3d81e4  Site: Change timezone offsets for posts to UTC (+0)
     add 01477c4  [CALCITE-2302] Implicit type cast support
     add c1b042f  [CALCITE-3297] PigToSqlAggregateRule should be applied on multi-set projection to produce an optimal plan (Igor Guzenko)
     add 6cec811  [CALCITE-2973],[CALCITE-3284] Allow joins(hash,semi,anti) that have equi conditions to be executed using a hash join algorithm
     add e2300d2  [CALCITE-3307] PigRelExTest, PigRelOpTest and PigScriptTest fail on Windows
     add 72680df  [CALCITE-3311] Add doc to site for implicit type coercion
     add b8d24a6  [CALCITE-3292] SqlToRelConverter#substituteSubQuery fails with NullPointerException when converting SqlUpdate (Jin Xing)
     add 81c768e  [CALCITE-3310] Approximate and exact aggregate calls are recognized as the same during sql-to-rel conversion
     add 55cc3ab  [CALCITE-3309] Refactor generatePredicate method from EnumerableNestedLoopJoin/EnumerableHashJoin/EnumerableBatchNestedLoopJoin into a single location
     add 48086a7  [CALCITE-3315] Multiple failures in Druid IT tests due to implicit casts
     add c9520c3  [CALCITE-3314] CVSS dependency-check-maven fails for calcite-pig, calcite-piglet, calcite-spark
     add 955d4ea  [CALCITE-3115] Cannot add JdbcRules which have different JdbcConvention to same VolcanoPlanner's RuleSet (Wenhui Tang, Igor Guzenko)
     add 5c25c38  Remove the useless JdbcConvention out in descriptionPrefix for JdbcToEnumerableConverterRule (Wenhui Tang)
     add faeb6d0  [CALCITE-3322] Remove duplicate test case in RelMetadataTest (沈洪)
     add 6fabfd6  [CALCITE-3321] BigQuery does not have correct casing rules (Lindsey Meyer)
     add 8c941e0  Cosmetic code changes
     add 3580276  [CALCITE-3303] Release Calcite 1.21.0
     add adc1532  [maven-release-plugin] prepare release calcite-1.21.0
     add 7998028  [maven-release-plugin] prepare for next development iteration
     add 034bd79  Improve 1.21.0 release note
     add 3f7bbae  Add 1.21.0 release announcement
     add 4ce87bb  Site: Add upcoming talks at ApacheCon NA 2019
     add f6aa7a9  [CALCITE-3335] ElasticSearch adapter. Introduce configuration parameter "hosts" which deprecates previous "coordinates". (Shikha Somani)
     add d3c7183  [CALCITE-3331] Support implicit type cast for operators that use single operand family checker
     add ce8ca67  [CALCITE-3319] AssertionError when reducing decimals (Wang Yanlin)
     add 43b6abc  [CALCITE-3317] Add a public constructor for LogicalCalc with RelInput type parameter (Wang Yanlin)
     add 507d383  [CALCITE-3316] Exception while deserializing LogicalCorrelate from json string (Wang Yanlin)
     add f95f74a  [CALCITE-2166] Cumulative cost of RelSubset.best RelNode is increased after calling RelSubset.propagateCostImprovements() for input RelNodes (Xiening Dai)
     add f3758a6  [CALCITE-3282] In JDBC adapter, when generating SQL for Hive, generate INTEGER type as INT (huangfeng)
     add bc0f5d2  Add method Ord.forEach
     add f4dde66  [CALCITE-3302] Implement CLASSIFIER and LAST functions for MATCH_RECOGNIZE
     add 67fd318  Site: Add new committers: Julian Feinauer and Muhammad Gelbana
     add 883e191  [CALCITE-3360] SqlValidator throws NPE for unregistered function without implicit type coercion
     add 02a4ced  [CALCITE-3344] In JDBC adapter, generate "SELECT TOP(n)" for MSSQL 2008 and earlier, and for Sybase ASE
     add 29d8508  [CALCITE-3286] In LatticeSuggester, allow join conditions that use expressions
     add 3b26283  [CALCITE-3357] Trivial null checking in RelSet#addAbstractConverters (Jin Xing)
     add 9693817  [CALCITE-3287] Union in RelMdRowCount.java doesn't take into account 'union all' (Hong Shen)
     add 0115bd1  [CALCITE-3348] AssertionError while determining distribution of Calc (Wang Yanlin)
     add 64068d6  [CALCITE-1178] Allow SqlBetweenOperator to compare DATE and TIMESTAMP
     add 78c2a00  [CALCITE-3288] In ConstantExpression support SET literals (xy2953396112)
     add a7a566b  [CALCITE-3247] In JDBC adapter, when generating SQL for Hive, transform SUBSTRING function to correct format (Jacky Woo)
     add 405614f  [CALCITE-3327] Simplify SqlValidatorTest and SqlParserTest by making test methods fluent
     add be01394  [CALCITE-3239] Calc#accept(RexShuttle shuttle) does not update rowType. (Jin Xing)
     add 3005ff9  [CALCITE-3365] Don't require use of JdbcSchema in QuerySqlStatisticProvider (Lindsey Meyer)
     add 47a626d  Improve READMEs and release howto instructions
     add bb3889e  [CALCITE-3369] In LatticeSuggester, recommend lattices based on UNION queries
     add 0c8cbac  [CALCITE-3370] In JDBC adapter for Microsoft SQL Server, emulate NULLS FIRST using CASE expression (Justin Swett)
     add ed692fd  [CALCITE-3323] Add mode to SqlValidator that treats statements as valid if they contain unknown functions (Ryan Fu)
     add c9adf94  [CALCITE-3363] JoinUnionTransposeRule.RIGHT_UNION should not match SEMI/ANTI Join (Jin Xing)
     add 2dc97e6  [CALCITE-3374] Error format check result for explain plan as json (Wang Yanlin)
     add 30a0dd0  [CALCITE-3381] When using BigQuery dialect, Rel2SQL converter converts SQL types to BigQuery types (Rui Wang)
     add 87c5bd2  [CALCITE-3346] Re-enable some ignored tests in RelOptRuleTests (Wang Yanlin)
     add c09f293  [CALCITE-3349] Add CREATE FUNCTION and DROP FUNCTION ddl (Zhenqiu Huang)
     add 3498026  [CALCITE-3347] IndexOutOfBoundsException in FixNullabilityShuttle when using FilterIntoJoinRule (Wang Yanlin, Shuming Li)
     add 64c3957  Fix typos (Wang Yanlin)
     add a47492b  Javadoc fixes for JDK 13
     add 35c5f57  [CALCITE-3361] Add 'lenientOperatorLookup' connection property
     add abf36e4  [CALCITE-3389] Test may fail if HashSet iterates in different order (contextshuffling)
     add 3f54108  [CALCITE-3386] CyclicMetadataException singleton instance causes confusion when debugging (Zuozhi Wang)
     add 062c413  Site: Change GitHub avatar links to https
     add 68ceafb  Site: Update upcoming talks section for ApacheCon Europe 2019
     add b841a6c  [CALCITE-3391] Insecure pages warning on Chrome
     add e435954  [CALCITE-3330] Use breadth first approach for propagating cost improvements
     add 812bc3b  Following [CALCITE-3330] Fix style issue
     add 1cc65f1  [CALCITE-3392] Column expression in DDL should be validated before converting to RexNode
     add 05a086b  Re-format and re-organize config.fmpp files that customize the SQL parser
     add 4be2d08  [CALCITE-3383] Plural time units
     add f7ff1c9  [CALCITE-3397] AssertionError for interpretering multiset value (Wang Yanlin)
     add 22c76fb  [CALCITE-3379] Support expand STRING column expression of table during sql-to-rel conversion
     add c7ab646  [CALCITE-3396] Materialized view matches unexpectedly for UNION with different 'all' property (Jin Xing)
     add 79f6aeb  [CALCITE-3382] Hard-wire the TUMBLE grouping function into SQL parser (Rui Wang)
     add 8f5f251  [CALCITE-3404] In AggregateExpandDistinctAggregatesRule, treat all the agg expressions as distinct if they have the same arguments and the non-distinct expressions distinct constraints can be ignored
     add 8da131c  [CALCITE-3410] Simplify RelOptRulesTest and HepPlannerTest by making test methods fluent
     add 2cde99f  [CALCITE-3411] Incorrect code generated for BigDecimal ConstantExpression (DonnyZone)
     add 3cbbafa  [CALCITE-3403] RelMetadataQuery reuse (Jin Xing)
     add 2ac4415  [CALCITE-3420] NullPointerException throws for implicit type coercion of nested SET operations
     add bfb716a  Refactor InterpreterTest
     add ec9947a  [CALCITE-3407] Implement MINUS and INTERSECT in interpreter (Wang Yanlin)
     add 2217420  [CALCITE-2792] Stackoverflow while evaluating filter with large number of OR conditions
     add dd9bc94  Fix SQL example in comment
     add ebc16af  [CALCITE-3421] Reuse RelMetadataQuery in test suites
     add cd24cae  [CALCITE-3318] Preserving CAST of STRING operand in binary comparison for BigQuery (soma-mondal)
     add 0d1d491  [CALCITE-3393] RelStructuredTypeFlattener: improve support for functions with struct input (Igor Guzenko)
     add 9c5b2d9  Fix wrong usage of SqlTypeAssignmentRules.canCastFrom in AbstractTypeCoercion.needToCast
     add ff43dcb  [CALCITE-3416] SQL Dialects DEFAULTs should be more extensible
     add 429c0d0  [CALCITE-3414] In calcite-core, use RexToLixTranslator.convert for type conversion code generation uniformly (DonnyZone)
     add b5ffef1  [CALCITE-3300] In JDBC adapter, when generating SQL for count star, generates the star argument of the call (Wang Weidong)
     add 8ba2d85  [CALCITE-3424] AssertionError thrown for user-defined table function with array argument (Igor Guzenko)
     add 331e4fe  Add RelBuilder.fields(ImmutableBitSet)
     add 2a2edba  [CALCITE-3362] Add some tests for empty Lattice (Wang Yanlin)
     add f9103e6  [CALCITE-3428] Refine RelMdColumnUniqueness for Filter by considering constant columns (Jin Xing)
     add 1745f75  Cosmetic
     add d287b05  [CALCITE-3441] Remove SqlTypeExplicitPrecedenceList.COMPACT_NUMERIC_TYPES because the NULL delimiters are useless
     add 8fd8fcc  [CALCITE-3440] RelToSqlConverter does not properly alias ambiguous ORDER BY
     add 2c6ccd5  [CALCITE-3436] In CalciteConnectionConfigImpl, add isSet and unset methods (Ryan Fu)
     add dfd6a0c  Refactor SqlPrettyWriterTest, using a fluent API for invoking tests
     add 293059c  [CALCITE-3444] Upgrade SQLLine to 1.9.0, and solve "Class path contains multiple SLF4J bindings" problem
     add 7273a97  [CALCITE-3445] In web site, automatically redirect http to https
     add 8d65a24  [CALCITE-3451] Support TableModify in RelMdNodeTypes (xy2953396113)
     add 76f9847  [CALCITE-3439] Support Intersect and Minus in RelMdPredicates (Jin Xing)
     add 93da00b  [CALCITE-3334] Refinement for Substitution-Based MV Matching (Jin Xing)
     add a02155a  [CALCITE-3390] Add ITEM expression to SqlKind and include it in the policy map for Strong (Aman Sinha)
     add 08dfd17  Cosmetic changes
     add 1ef2821  [CALCITE-3442] In ElasticSearch adapter, set `stored_fields = _none_` to prohibit FetchPhase get involved (Yunfeng,Wu)
     add 977ea0d  [CALCITE-3446] Make RelMetadataQuery extensible
     add e0d869a  [CALCITE-2018] Queries failed with AssertionError: rel has lower cost than best cost of subset
     add d3b1d85  [CALCITE-2018] Complete work of calcite-2018 (Xiening Dai)
     add ad90589  [CALCITE-2018] Use cluster at the same place where planner was
     add d51f76c  [CALCITE-3454] Support Exchange in RelMdMaxRowCount,RelMdMinRowCount,RelMdRowCount (xy2953396112)
     add 464d520  [CALCITE-3376] VolcanoPlanner CannotPlanException: best rel is null even though there is an option with non-infinite cost Problem solved via CALCITE-2018, just add a unit test for this specific scenario
     add aa98c15  Site: Add Danny Chan as PMC
     add a5c63c9  [CALCITE-3449] Sync the table name logic from TableScan into the TableModify (dy.Zhuang)
     add 65043f2  [CALCITE-3433] EQUALS operator between date/timestamp types returns false if the type is nullable (DonnyZone)
     add 2ed1d88  Site: Append '(FirstName LastName)' to commit message example in contributing section
     add cae7afb  [CALCITE-3434] ElasticSearch schema with pathPrefix (Jeffery Zhang)
     add 4c779b0  [CALCITE-3457] RexSimplify incorrectly simplifies IS NOT NULL operator with ITEM call
     add 9dd4e12  [CALCITE-3254] Exception while deserializing with interval type or with empty partition/order key for RexOver (Wang Yanlin)
     add b2daea5  [CALCITE-3475] JDBC adapter generates invalid SQL for UNION ALL on BigQuery (Steven Talbot)
     add 01043b1  [CALCITE-3400] Implement left/right/semi/anti/full join in interpreter (Wang Yanlin)
     add e2c8e68  [CALCITE-3458] Remove desc in AbstractRelNode
     add 4bc45cd  [CALCITE-3405] Prune columns for ProjectableFilterableTable when Project is not simple mapping (Jin Xing)
     add 4e70e7f  [CALCITE-3381] When using BigQuery dialect, Rel2SQL converter converts SQL types to BigQuery types (part2) (Rui Wang)
     add 4299007  [CALCITE-3423] Support using CAST operation and BOOLEAN type value in table macro (Wang Yanlin)
     add be52384  [CALCITE-3408] Add support for enumerable intersect/minus all (Wang Yanlin)
     add 9c04f87  [CALCITE-3456] AssertionError throws for aggregation with same digest IN subqueries in same scope
     add be571b5  [CALCITE-3435] Enable decimal modulus operation to allow numeric with non-zero scale (DonnyZone)
     add 2ab44bf  [CALCITE-3479] Stack overflow error thrown when running join queryi (Xiening Dai)
     add 08c83af  [CALCITE-3482] Equality of nested ROWs returns false for identical literal value
     add e6f91d2  [CALCITE-3437] ElasticSearch adapter. Support MatchQuery in elasticsearch (Shlok Srivastava)
     add f90e5d7  [CALCITE-3487] Should not hard code RelMetadataQuery class in VolcanoPlanner.isValid() (Xiening Dai)
     add 6ee48c6  [CALCITE-3469] Wrong rel used in SubstitutionVisitor#rowTypesAreEquivalent (Min Dai)
     add 4d1c3e5  [CALCITE-3474] NullPointerException in SqlSimpleParser toke.s.equals() (Xiucheng Qu)
     add ed5cfb0  Site: Add Haisheng Yuan as PMC
     new 301af69  Site: Change timezone offsets for posts to UTC (+0)
     new 365eb23  Try Github actions

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (6e4e353)
            \
             N -- N -- N   refs/heads/test-site (365eb23)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore                                         |     1 +
 README                                             |     4 +-
 README.md                                          |    10 +
 babel/pom.xml                                      |     4 +-
 babel/src/main/codegen/config.fmpp                 |  1712 ++--
 .../org/apache/calcite/test/BabelParserTest.java   |     5 +-
 .../org/apache/calcite/test/BabelQuidemTest.java   |    35 +-
 .../java/org/apache/calcite/test/BabelTest.java    |    40 +-
 babel/src/test/resources/sql/redshift.iq           |  2199 ++++
 babel/src/test/resources/sql/select.iq             |     2 +-
 cassandra/pom.xml                                  |     4 +-
 core/pom.xml                                       |     4 +-
 core/src/main/codegen/config.fmpp                  |   623 +-
 core/src/main/codegen/templates/Parser.jj          |   162 +-
 .../calcite/adapter/enumerable/EnumUtils.java      |    41 +
 .../enumerable/EnumerableBatchNestedLoopJoin.java  |    40 +-
 .../calcite/adapter/enumerable/EnumerableCalc.java |     2 +-
 .../adapter/enumerable/EnumerableHashJoin.java     |    32 +-
 .../adapter/enumerable/EnumerableIntersect.java    |     4 +-
 .../enumerable/EnumerableIntersectRule.java        |     5 +-
 .../adapter/enumerable/EnumerableJoinRule.java     |    36 +-
 .../adapter/enumerable/EnumerableMatch.java        |   146 +-
 .../adapter/enumerable/EnumerableMergeJoin.java    |     9 +-
 .../adapter/enumerable/EnumerableMinus.java        |     4 +-
 .../adapter/enumerable/EnumerableMinusRule.java    |     5 +-
 .../enumerable/EnumerableNestedLoopJoin.java       |    43 +-
 .../adapter/enumerable/EnumerableRules.java        |     1 +
 ...{CallImplementor.java => MatchImplementor.java} |    24 +-
 .../{AggResetContext.java => MatchUtils.java}      |    46 +-
 .../calcite/adapter/enumerable/PhysTypeImpl.java   |    20 +-
 .../calcite/adapter/enumerable/RexImpTable.java    |   135 +-
 .../adapter/enumerable/RexToLixTranslator.java     |    48 +-
 .../adapter/enumerable/StrictAggImplementor.java   |     3 +-
 .../calcite/adapter/java/ReflectiveSchema.java     |     8 +-
 .../calcite/adapter/jdbc/JdbcConvention.java       |     2 +-
 .../org/apache/calcite/adapter/jdbc/JdbcTable.java |    10 +
 .../jdbc/JdbcToEnumerableConverterRule.java        |     2 +-
 .../calcite/config/CalciteConnectionConfig.java    |     4 +
 .../config/CalciteConnectionConfigImpl.java        |    38 +-
 .../calcite/config/CalciteConnectionProperty.java  |    10 +-
 .../apache/calcite/interpreter/AggregateNode.java  |    26 +
 .../org/apache/calcite/interpreter/Bindables.java  |     2 +-
 .../{WindowNode.java => CollectNode.java}          |    24 +-
 .../apache/calcite/interpreter/Interpreter.java    |    13 +-
 .../org/apache/calcite/interpreter/JoinNode.java   |   130 +-
 .../java/org/apache/calcite/interpreter/Nodes.java |    11 +-
 .../org/apache/calcite/interpreter/SetOpNode.java  |    87 +
 .../org/apache/calcite/interpreter/UnionNode.java  |     3 +
 .../apache/calcite/jdbc/CalciteConnectionImpl.java |     5 +-
 .../main/java/org/apache/calcite/jdbc/Driver.java  |     2 +-
 .../apache/calcite/jdbc/JavaTypeFactoryImpl.java   |    20 +-
 .../org/apache/calcite/materialize/Lattice.java    |     4 +-
 .../apache/calcite/materialize/LatticeNode.java    |     2 +-
 .../apache/calcite/materialize/LatticeSpace.java   |    40 +-
 .../calcite/materialize/LatticeSuggester.java      |   128 +-
 .../java/org/apache/calcite/materialize/Step.java  |    64 +-
 .../apache/calcite/plan/AbstractRelOptPlanner.java |     2 +-
 .../apache/calcite/plan/ConventionTraitDef.java    |     2 +-
 .../plan/MaterializedViewSubstitutionVisitor.java  |   293 +-
 .../org/apache/calcite/plan/RelOptCluster.java     |    38 +-
 .../calcite/plan/RelOptMaterializations.java       |    22 +-
 .../java/org/apache/calcite/plan/RelOptNode.java   |     1 +
 .../org/apache/calcite/plan/RelOptRuleCall.java    |     5 +-
 .../java/org/apache/calcite/plan/RelOptRules.java  |     2 +-
 .../java/org/apache/calcite/plan/RelOptUtil.java   |     7 +
 .../java/org/apache/calcite/plan/RelTrait.java     |     2 +-
 .../main/java/org/apache/calcite/plan/Strong.java  |     1 +
 .../apache/calcite/plan/SubstitutionVisitor.java   |  1007 +-
 .../org/apache/calcite/plan/hep/HepPlanner.java    |     5 +-
 .../org/apache/calcite/plan/volcano/RelSet.java    |    27 +-
 .../org/apache/calcite/plan/volcano/RelSubset.java |    45 +-
 .../calcite/plan/volcano/VolcanoPlanner.java       |    97 +-
 .../calcite/plan/volcano/VolcanoRuleMatch.java     |     3 +-
 .../calcite/prepare/CalciteMaterializer.java       |     6 +-
 .../apache/calcite/prepare/CalcitePrepareImpl.java |    25 +-
 .../calcite/prepare/CalciteSqlValidator.java       |     1 +
 .../org/apache/calcite/prepare/PlannerImpl.java    |    30 +-
 .../calcite/prepare/QueryableRelBuilder.java       |    25 +
 .../org/apache/calcite/rel/AbstractRelNode.java    |    34 +-
 .../apache/calcite/rel/convert/ConverterRule.java  |    25 +-
 .../org/apache/calcite/rel/core/AggregateCall.java |    10 +-
 .../java/org/apache/calcite/rel/core/Calc.java     |    22 +-
 .../org/apache/calcite/rel/core/Correlate.java     |     4 +-
 .../java/org/apache/calcite/rel/core/Filter.java   |     4 +-
 .../java/org/apache/calcite/rel/core/Join.java     |     2 +-
 .../java/org/apache/calcite/rel/core/Union.java    |     2 +-
 .../apache/calcite/rel/externalize/RelJson.java    |    30 +-
 .../apache/calcite/rel/logical/LogicalCalc.java    |    13 +-
 .../calcite/rel/logical/LogicalCorrelate.java      |     2 +-
 .../rel/metadata/CyclicMetadataException.java      |     8 +-
 .../rel/metadata/JaninoRelMetadataProvider.java    |    13 +-
 .../metadata/ReflectiveRelMetadataProvider.java    |     6 +-
 .../rel/metadata/RelMdColumnUniqueness.java        |    37 +
 .../calcite/rel/metadata/RelMdDistribution.java    |    11 +-
 .../calcite/rel/metadata/RelMdMaxRowCount.java     |     5 +
 .../calcite/rel/metadata/RelMdMinRowCount.java     |     5 +
 .../calcite/rel/metadata/RelMdNodeTypes.java       |     6 +
 .../calcite/rel/metadata/RelMdPredicates.java      |    50 +
 .../apache/calcite/rel/metadata/RelMdRowCount.java |     8 +
 .../org/apache/calcite/rel/metadata/RelMdUtil.java |    74 +
 .../calcite/rel/metadata/RelMetadataQuery.java     |   174 +-
 .../calcite/rel/metadata/RelMetadataQueryBase.java |   107 +
 .../apache/calcite/rel/mutable/MutableRels.java    |     9 +
 .../calcite/rel/rel2sql/RelToSqlConverter.java     |    32 +-
 .../apache/calcite/rel/rel2sql/SqlImplementor.java |   107 +-
 .../rel/rules/AbstractMaterializedViewRule.java    |     8 +-
 .../AggregateExpandDistinctAggregatesRule.java     |   109 +-
 .../calcite/rel/rules/AggregateRemoveRule.java     |     4 +-
 .../apache/calcite/rel/rules/FilterJoinRule.java   |     3 +-
 .../calcite/rel/rules/IntersectToDistinctRule.java |     2 +-
 .../calcite/rel/rules/JoinUnionTransposeRule.java  |     3 +-
 .../rel/rules/MaterializedViewFilterScanRule.java  |     4 +-
 .../calcite/rel/rules/ProjectTableScanRule.java    |    58 +-
 .../calcite/rel/rules/ReduceDecimalsRule.java      |     8 -
 .../calcite/rel/rules/ReduceExpressionsRule.java   |     2 +-
 .../calcite/rel/rules/SubQueryRemoveRule.java      |     4 +-
 .../calcite/rel/type/RelDataTypeFactory.java       |    10 +
 .../calcite/rel/type/RelDataTypeFactoryImpl.java   |    37 +
 .../apache/calcite/rel/type/RelDataTypeSystem.java |   138 +-
 .../java/org/apache/calcite/rex/RexBuilder.java    |    12 +
 .../java/org/apache/calcite/rex/RexLiteral.java    |     3 +-
 .../java/org/apache/calcite/rex/RexProgram.java    |    58 +-
 .../java/org/apache/calcite/rex/RexSimplify.java   |    68 +-
 .../apache/calcite/rex/RexToSqlNodeConverter.java  |     4 +
 .../apache/calcite/runtime/CalciteResource.java    |     6 +
 .../org/apache/calcite/runtime/Enumerables.java    |     2 +-
 .../java/org/apache/calcite/runtime/Matcher.java   |    12 +-
 .../org/apache/calcite/runtime/SqlFunctions.java   |    10 +-
 .../org/apache/calcite/schema/ColumnStrategy.java  |     3 +-
 .../java/org/apache/calcite/schema/Schemas.java    |     4 +-
 .../apache/calcite/sql/SqlBasicTypeNameSpec.java   |    15 +-
 .../calcite/sql/SqlCollectionTypeNameSpec.java     |    20 +-
 .../java/org/apache/calcite/sql/SqlDialect.java    |    53 +-
 .../java/org/apache/calcite/sql/SqlExplain.java    |     2 +-
 .../java/org/apache/calcite/sql/SqlFunction.java   |    36 +-
 .../calcite/sql/SqlGroupedWindowFunction.java      |     7 +
 .../apache/calcite/sql/SqlJdbcFunctionCall.java    |    14 +-
 .../main/java/org/apache/calcite/sql/SqlKind.java  |    49 +-
 ...SqlInsertKeyword.java => SqlMatchFunction.java} |    25 +-
 .../java/org/apache/calcite/sql/SqlOperator.java   |     4 +-
 .../org/apache/calcite/sql/SqlRowTypeNameSpec.java |    11 +-
 .../org/apache/calcite/sql/SqlSelectOperator.java  |     1 +
 .../org/apache/calcite/sql/SqlTypeNameSpec.java    |    11 +-
 .../calcite/sql/SqlUserDefinedTypeNameSpec.java    |     5 +-
 .../main/java/org/apache/calcite/sql/SqlUtil.java  |    47 +-
 .../java/org/apache/calcite/sql/SqlWriter.java     |     7 +
 .../apache/calcite/sql/advise/SqlSimpleParser.java |    10 +-
 .../calcite/sql/dialect/AccessSqlDialect.java      |     9 +-
 .../apache/calcite/sql/dialect/AnsiSqlDialect.java |    10 +-
 .../calcite/sql/dialect/BigQuerySqlDialect.java    |    98 +-
 .../calcite/sql/dialect/CalciteSqlDialect.java     |     9 +-
 .../apache/calcite/sql/dialect/Db2SqlDialect.java  |     7 +-
 .../calcite/sql/dialect/DerbySqlDialect.java       |     7 +-
 .../calcite/sql/dialect/FirebirdSqlDialect.java    |     7 +-
 .../apache/calcite/sql/dialect/H2SqlDialect.java   |     9 +-
 .../apache/calcite/sql/dialect/HiveSqlDialect.java |    43 +-
 .../calcite/sql/dialect/HsqldbSqlDialect.java      |     7 +-
 .../calcite/sql/dialect/InfobrightSqlDialect.java  |     9 +-
 .../calcite/sql/dialect/InformixSqlDialect.java    |     7 +-
 .../calcite/sql/dialect/IngresSqlDialect.java      |     7 +-
 .../calcite/sql/dialect/InterbaseSqlDialect.java   |     7 +-
 .../calcite/sql/dialect/LucidDbSqlDialect.java     |     9 +-
 .../calcite/sql/dialect/MssqlSqlDialect.java       |    90 +-
 .../calcite/sql/dialect/MysqlSqlDialect.java       |    13 +-
 .../calcite/sql/dialect/NeoviewSqlDialect.java     |     7 +-
 .../calcite/sql/dialect/NetezzaSqlDialect.java     |     9 +-
 .../calcite/sql/dialect/OracleSqlDialect.java      |    12 +-
 .../calcite/sql/dialect/ParaccelSqlDialect.java    |     9 +-
 .../calcite/sql/dialect/PhoenixSqlDialect.java     |     9 +-
 .../calcite/sql/dialect/PostgresqlSqlDialect.java  |    14 +-
 .../calcite/sql/dialect/RedshiftSqlDialect.java    |    15 +-
 .../calcite/sql/dialect/SnowflakeSqlDialect.java   |    10 +-
 .../calcite/sql/dialect/SparkSqlDialect.java       |     9 +-
 .../calcite/sql/dialect/SybaseSqlDialect.java      |    27 +-
 .../calcite/sql/dialect/TeradataSqlDialect.java    |     8 +-
 .../calcite/sql/dialect/VerticaSqlDialect.java     |    11 +-
 .../apache/calcite/sql/fun/SqlCaseOperator.java    |    23 +-
 .../calcite/sql/fun/SqlDatePartFunction.java       |    10 +-
 .../org/apache/calcite/sql/fun/SqlDotOperator.java |     2 +
 .../org/apache/calcite/sql/fun/SqlInOperator.java  |    22 +-
 .../apache/calcite/sql/fun/SqlItemOperator.java    |     2 +-
 .../calcite/sql/fun/SqlJsonRemoveFunction.java     |     9 +-
 .../calcite/sql/fun/SqlRegexpReplaceFunction.java  |    35 +-
 .../calcite/sql/fun/SqlStdOperatorTable.java       |    29 +-
 .../calcite/sql/fun/SqlSubstringFunction.java      |    73 +-
 .../calcite/sql/parser/SqlAbstractParserImpl.java  |     4 +
 .../org/apache/calcite/sql/parser/SqlParser.java   |     9 +
 .../apache/calcite/sql/pretty/SqlPrettyWriter.java |     7 +
 .../sql/type/AssignableOperandTypeChecker.java     |     1 +
 .../sql/type/ComparableOperandTypeChecker.java     |    19 +-
 .../sql/type/CompositeOperandTypeChecker.java      |    50 +
 .../calcite/sql/type/FamilyOperandTypeChecker.java |    52 +-
 .../sql/type/ImplicitCastOperandTypeChecker.java   |    54 +
 .../sql/type/JavaToSqlTypeConversionRules.java     |     1 +
 .../org/apache/calcite/sql/type/ReturnTypes.java   |    21 +-
 .../calcite/sql/type/SameOperandTypeChecker.java   |     2 +-
 .../SameOperandTypeExceptLastOperandChecker.java   |     8 +-
 .../calcite/sql/type/SetopOperandTypeChecker.java  |    61 +-
 .../sql/type/SqlSingleOperandTypeChecker.java      |     7 +
 .../calcite/sql/type/SqlTypeAssignmentRules.java   |    42 +-
 .../sql/type/SqlTypeExplicitPrecedenceList.java    |    24 +-
 .../calcite/sql/type/SqlTypeFactoryImpl.java       |     5 +-
 .../org/apache/calcite/sql/type/SqlTypeFamily.java |    64 +
 .../apache/calcite/sql/type/SqlTypeTransforms.java |     2 +
 .../org/apache/calcite/sql/type/SqlTypeUtil.java   |   195 +-
 .../apache/calcite/sql/validate/SelectScope.java   |     4 +-
 .../sql/validate/SqlAbstractConformance.java       |     4 +
 .../calcite/sql/validate/SqlConformance.java       |    15 +
 .../calcite/sql/validate/SqlConformanceEnum.java   |    10 +
 .../sql/validate/SqlUserDefinedTableMacro.java     |     6 +-
 .../apache/calcite/sql/validate/SqlValidator.java  |    46 +
 .../calcite/sql/validate/SqlValidatorImpl.java     |    56 +-
 .../calcite/sql/validate/SqlValidatorUtil.java     |   131 +-
 .../validate/implicit/AbstractTypeCoercion.java    |   700 ++
 .../sql/validate/implicit/TypeCoercion.java        |   180 +
 .../sql/validate/implicit/TypeCoercionImpl.java    |   585 ++
 .../sql/validate/implicit/TypeCoercions.java}      |    20 +-
 .../sql/validate/implicit/package-info.java        |    87 +
 .../apache/calcite/sql2rel/InitializerContext.java |    58 +-
 .../sql2rel/InitializerExpressionFactory.java      |    18 +
 .../sql2rel/NullInitializerExpressionFactory.java  |     6 +
 .../apache/calcite/sql2rel/RelDecorrelator.java    |    15 +-
 .../sql2rel/RelStructuredTypeFlattener.java        |   103 +-
 .../apache/calcite/sql2rel/SqlToRelConverter.java  |    85 +-
 .../calcite/sql2rel/StandardConvertletTable.java   |     4 +
 .../statistic/QuerySqlStatisticProvider.java       |    43 +-
 .../java/org/apache/calcite/tools/RelBuilder.java  |    36 +-
 .../org/apache/calcite/util/BuiltInMethod.java     |    19 +-
 .../main/java/org/apache/calcite/util/Static.java  |     2 +-
 .../main/java/org/apache/calcite/util/Util.java    |    12 +-
 .../java/org/apache/calcite/util/XmlOutput.java    |     4 +-
 .../apache/calcite/util/trace/CalciteTrace.java    |     2 +-
 .../calcite/runtime/CalciteResource.properties     |     2 +
 core/src/test/codegen/config.fmpp                  |   767 +-
 .../calcite/materialize/LatticeSuggesterTest.java  |   134 +-
 .../org/apache/calcite/plan/RelWriterTest.java     |   240 +-
 .../calcite/plan/volcano/TraitPropagationTest.java |     4 +-
 .../plan/volcano/VolcanoPlannerTraitTest.java      |     6 +-
 .../calcite/rel/rel2sql/RelToSqlConverterTest.java |   298 +-
 .../org/apache/calcite/runtime/AutomatonTest.java  |    36 +-
 .../apache/calcite/runtime/EnumerablesTest.java    |   113 +
 .../apache/calcite/sql/parser/SqlParserTest.java   |  7604 +++++++-------
 .../ExtensionSqlParserTest.java                    |     8 +-
 .../apache/calcite/sql/test/AbstractSqlTester.java |    29 +-
 .../apache/calcite/sql/test/SqlAdvisorTest.java    |     4 +
 .../calcite/sql/test/SqlOperatorBaseTest.java      |   171 +-
 .../calcite/sql/test/SqlPrettyWriterTest.java      |   454 +-
 .../apache/calcite/sql/test/SqlRuntimeTester.java  |    15 +-
 .../apache/calcite/sql/test/SqlTestFactory.java    |    13 +-
 .../org/apache/calcite/sql/test/SqlTester.java     |    14 +
 .../calcite/sql/test/SqlValidatorTester.java       |    17 +-
 .../calcite/sql/type/RelDataTypeSystemTest.java    |     2 +-
 .../org/apache/calcite/test/CalciteAssert.java     |    51 +-
 .../java/org/apache/calcite/test/CalciteSuite.java |     2 +
 .../apache/calcite/test/ExceptionMessageTest.java  |     2 +-
 .../org/apache/calcite/test/HepPlannerTest.java    |    48 +-
 .../org/apache/calcite/test/InterpreterTest.java   |   386 +-
 .../org/apache/calcite/test/JdbcAdapterTest.java   |    34 +-
 .../java/org/apache/calcite/test/JdbcTest.java     |   147 +-
 .../java/org/apache/calcite/test/LatticeTest.java  |    73 +-
 .../apache/calcite/test/MaterializationTest.java   |   379 +-
 .../apache/calcite/test/ReflectiveSchemaTest.java  |    10 +-
 .../org/apache/calcite/test/RelMetadataTest.java   |   583 +-
 .../org/apache/calcite/test/RelOptRulesTest.java   |  2149 ++--
 .../org/apache/calcite/test/RelOptTestBase.java    |   110 +-
 .../apache/calcite/test/RexProgramBuilderBase.java |     9 +
 .../org/apache/calcite/test/RexProgramTest.java    |    31 +
 .../org/apache/calcite/test/RexShuttleTest.java    |    60 +
 .../apache/calcite/test/ScannableTableTest.java    |   108 +-
 .../java/org/apache/calcite/test/SqlTestGen.java   |     5 +-
 .../apache/calcite/test/SqlToRelConverterTest.java |   209 +-
 .../org/apache/calcite/test/SqlToRelTestBase.java  |    44 +-
 .../calcite/test/SqlValidatorDynamicTest.java      |     2 +-
 .../calcite/test/SqlValidatorFeatureTest.java      |     4 +-
 .../apache/calcite/test/SqlValidatorMatchTest.java |     2 +-
 .../org/apache/calcite/test/SqlValidatorTest.java  | 10138 +++++++++----------
 .../apache/calcite/test/SqlValidatorTestCase.java  |   294 +-
 .../org/apache/calcite/test/TableFunctionTest.java |    29 +-
 .../calcite/test/TypeCoercionConverterTest.java    |   110 +
 .../org/apache/calcite/test/TypeCoercionTest.java  |   863 ++
 .../test/java/org/apache/calcite/test/UdfTest.java |    55 +-
 .../org/apache/calcite/test/catalog/Fixture.java   |   285 +-
 .../calcite/test/concurrent/package-info.java      |    20 +-
 .../test/enumerable/EnumerableHashJoinTest.java    |   203 +
 .../org/apache/calcite/tools/FrameworksTest.java   |    81 +
 .../java/org/apache/calcite/tools/PlannerTest.java |    55 +-
 .../test/java/org/apache/calcite/util/Smalls.java  |    23 +-
 .../java/org/apache/calcite/util/UtilTest.java     |    17 +
 .../calcite/sql/test/SqlPrettyWriterTest.xml       |     2 +-
 .../org/apache/calcite/test/RelOptRulesTest.xml    |  1001 +-
 .../apache/calcite/test/SqlToRelConverterTest.xml  |   270 +-
 .../calcite/test/TypeCoercionConverterTest.xml     |   132 +
 core/src/test/resources/sql/match.iq               |    50 +
 core/src/test/resources/sql/misc.iq                |    12 +-
 core/src/test/resources/sql/set-op.iq              |   222 +
 core/src/test/resources/sql/struct.iq              |    36 +
 core/src/test/resources/sql/sub-query.iq           |     9 +-
 druid/pom.xml                                      |     4 +-
 .../org/apache/calcite/test/DruidAdapter2IT.java   |   403 +-
 .../org/apache/calcite/test/DruidAdapterIT.java    |   461 +-
 .../java/org/apache/calcite/test/DruidChecker.java |    55 +
 elasticsearch/pom.xml                              |     4 +-
 .../elasticsearch/ElasticsearchSchemaFactory.java  |    63 +-
 .../adapter/elasticsearch/ElasticsearchTable.java  |     5 +
 .../adapter/elasticsearch/PredicateAnalyzer.java   |    20 +-
 .../adapter/elasticsearch/QueryBuilders.java       |    73 +
 .../adapter/elasticsearch/AggregationTest.java     |     8 +-
 .../elasticsearch/ElasticSearchAdapterTest.java    |    15 +-
 .../calcite/adapter/elasticsearch/MatchTest.java   |   217 +
 .../adapter/elasticsearch/QueryBuildersTest.java   |     9 +
 example/csv/pom.xml                                |     4 +-
 example/function/pom.xml                           |     4 +-
 example/pom.xml                                    |     4 +-
 file/pom.xml                                       |     4 +-
 geode/pom.xml                                      |     4 +-
 .../calcite/adapter/geode/rel/GeodeFilter.java     |     3 +-
 .../calcite/adapter/geode/rel/GeodeRules.java      |     7 +-
 .../calcite/adapter/geode/rel/GeodeZipsTest.java   |     1 +
 kafka/pom.xml                                      |     2 +-
 linq4j/pom.xml                                     |     4 +-
 .../apache/calcite/linq4j/DefaultEnumerable.java   |    38 +-
 .../apache/calcite/linq4j/DefaultQueryable.java    |    25 +-
 .../apache/calcite/linq4j/EnumerableDefaults.java  |   356 +-
 .../apache/calcite/linq4j/EnumerableQueryable.java |    26 +-
 .../java/org/apache/calcite/linq4j/Enumerator.java |     2 +-
 .../apache/calcite/linq4j/ExtendedEnumerable.java  |    73 +-
 .../apache/calcite/linq4j/ExtendedQueryable.java   |    43 +-
 .../java/org/apache/calcite/linq4j/Extensions.java |     2 +-
 .../main/java/org/apache/calcite/linq4j/Ord.java   |    36 +
 .../apache/calcite/linq4j/QueryableFactory.java    |    44 +-
 .../apache/calcite/linq4j/QueryableRecorder.java   |    28 +-
 .../calcite/linq4j/tree/BinaryExpression.java      |     4 +-
 .../linq4j/tree/ClassDeclarationFinder.java        |     2 +-
 .../calcite/linq4j/tree/ConstantExpression.java    |    32 +-
 .../java/org/apache/calcite/linq4j/tree/Types.java |    28 +-
 .../apache/calcite/linq4j/test/ExpressionTest.java |   101 +-
 .../org/apache/calcite/linq4j/test/Linq4jTest.java |    62 +-
 mongodb/pom.xml                                    |     4 +-
 .../calcite/adapter/mongodb/MongoFilter.java       |     2 +-
 .../calcite/adapter/mongodb/MongoAdapterTest.java  |     6 +-
 pig/pom.xml                                        |    12 +-
 piglet/pom.xml                                     |    15 +-
 .../java/org/apache/calcite/test/PigRelOpTest.java |    25 +-
 .../org/apache/calcite/test/PigRelTestBase.java    |     4 +
 plus/pom.xml                                       |     4 +-
 pom.xml                                            |     6 +-
 server/pom.xml                                     |     4 +-
 server/src/main/codegen/config.fmpp                |   818 +-
 .../apache/calcite/sql/ddl/SqlCreateFunction.java  |     9 +-
 .../org/apache/calcite/sql/ddl/SqlCreateTable.java |     7 +-
 .../org/apache/calcite/sql/ddl/SqlDropObject.java  |     7 +
 .../java/org/apache/calcite/test/ServerTest.java   |   106 +
 server/src/test/resources/sql/table.iq             |    64 +
 .../resources/log4j.properties => site/.htaccess   |    24 +-
 site/README.md                                     |     2 +-
 site/_data/contributors.yml                        |    14 +-
 site/_docs/adapter.md                              |     7 +-
 site/_docs/druid_adapter.md                        |    10 +-
 site/_docs/elasticsearch_adapter.md                |     6 +-
 site/_docs/history.md                              |   361 +-
 site/_docs/howto.md                                |    47 +-
 site/_docs/lattice.md                              |     2 +-
 site/_docs/materialized_views.md                   |     2 +-
 site/_docs/reference.md                            |   104 +-
 site/_docs/spatial.md                              |     4 +-
 site/_docs/stream.md                               |     2 +-
 site/_includes/news_item.html                      |     4 +-
 site/_layouts/news_item.html                       |     4 +-
 site/_posts/2015-07-31-xldb-best-lightning-talk.md |     4 +-
 site/_posts/2015-10-22-calcite-graduates.md        |    14 +-
 site/_posts/2015-11-08-new-committers.md           |     4 +-
 site/_posts/2016-02-17-streaming-sql-talk.md       |     6 +-
 site/_posts/2016-03-22-cassandra-adapter.md        |     2 +-
 site/_posts/2016-03-22-release-1.7.0.md            |     4 +-
 site/_posts/2017-03-24-release-1.12.0.md           |     2 +-
 site/_posts/2019-09-11-release-1.21.0.md           |    54 +
 site/community/index.md                            |    62 +-
 site/develop/index.md                              |     8 +-
 spark/pom.xml                                      |    12 +-
 splunk/pom.xml                                     |     4 +-
 sqlline                                            |     5 +-
 sqlline.bat                                        |     9 +-
 ubenchmark/pom.xml                                 |     2 +-
 383 files changed, 29058 insertions(+), 16373 deletions(-)
 create mode 100755 babel/src/test/resources/sql/redshift.iq
 copy core/src/main/java/org/apache/calcite/adapter/enumerable/{CallImplementor.java => MatchImplementor.java} (71%)
 copy core/src/main/java/org/apache/calcite/adapter/enumerable/{AggResetContext.java => MatchUtils.java} (53%)
 copy core/src/main/java/org/apache/calcite/interpreter/{WindowNode.java => CollectNode.java} (64%)
 create mode 100644 core/src/main/java/org/apache/calcite/interpreter/SetOpNode.java
 create mode 100644 core/src/main/java/org/apache/calcite/rel/metadata/RelMetadataQueryBase.java
 copy core/src/main/java/org/apache/calcite/sql/{SqlInsertKeyword.java => SqlMatchFunction.java} (56%)
 create mode 100644 core/src/main/java/org/apache/calcite/sql/type/ImplicitCastOperandTypeChecker.java
 create mode 100644 core/src/main/java/org/apache/calcite/sql/validate/implicit/AbstractTypeCoercion.java
 create mode 100644 core/src/main/java/org/apache/calcite/sql/validate/implicit/TypeCoercion.java
 create mode 100644 core/src/main/java/org/apache/calcite/sql/validate/implicit/TypeCoercionImpl.java
 copy core/src/{test/java/org/apache/calcite/sql/test/SqlValidatorTester.java => main/java/org/apache/calcite/sql/validate/implicit/TypeCoercions.java} (64%)
 create mode 100644 core/src/main/java/org/apache/calcite/sql/validate/implicit/package-info.java
 create mode 100644 core/src/test/java/org/apache/calcite/test/TypeCoercionConverterTest.java
 create mode 100644 core/src/test/java/org/apache/calcite/test/TypeCoercionTest.java
 create mode 100644 core/src/test/java/org/apache/calcite/test/enumerable/EnumerableHashJoinTest.java
 create mode 100644 core/src/test/resources/org/apache/calcite/test/TypeCoercionConverterTest.xml
 create mode 100644 core/src/test/resources/sql/set-op.iq
 create mode 100644 druid/src/test/java/org/apache/calcite/test/DruidChecker.java
 create mode 100644 elasticsearch/src/test/java/org/apache/calcite/adapter/elasticsearch/MatchTest.java
 copy druid/src/test/resources/log4j.properties => site/.htaccess (60%)
 create mode 100644 site/_posts/2019-09-11-release-1.21.0.md


[calcite] 02/02: Try Github actions

Posted by fr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

francischuang pushed a commit to branch test-site
in repository https://gitbox.apache.org/repos/asf/calcite.git

commit 365eb23701de5860713255e23dbd95122e2751d4
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Wed Aug 14 10:44:09 2019 +1000

    Try Github actions
---
 .github/workflows/generate-javadoc.yml | 36 ++++++++++++++++++++++++++++++++++
 .github/workflows/publish-site.yml     | 33 +++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/.github/workflows/generate-javadoc.yml b/.github/workflows/generate-javadoc.yml
new file mode 100644
index 0000000..a7df13b
--- /dev/null
+++ b/.github/workflows/generate-javadoc.yml
@@ -0,0 +1,36 @@
+name: Publish the javadoc
+
+on:
+  create:
+    tags:
+      - "*"
+
+jobs:
+  publish:
+    name: Publish javadoc
+    runs-on: ubuntu-latest
+    steps:
+      - name: Generate Javadoc only if the tag is a release
+        env:
+          TAG: ${{ github.event.ref }}
+        run: if [[ ! $TAG =~ ^calcite-[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+$ ]]; then touch /tmp/exit; fi
+      - name: Checking out Calcite repository
+        uses: actions/checkout@v1
+      - name: Generate javadoc
+        working-directory: site
+        run: |
+          if [[ -f /tmp/exit ]]; then exit 0; fi
+          docker-compose run -u $(id -u):$(id -g) generate-javadoc
+      - name: Deploy javadoc to calcite-site repository
+        working-directory: site
+        run: |
+          if [[ -f /tmp/exit ]]; then exit 0; fi
+          git config --global user.email "builds@apache.org"
+          git config --global user.name "Calcite Automated Website Build"
+          git clone --depth 1 --branch asf-site https://gitbox.apache.org/repos/asf/calcite-site.git deploy
+          cd deploy/
+          rm -rf apidocs/ testapidocs/
+          cp -r ../target/* .
+          git add .
+          git commit -m "Automatic javadoc deployment from Calcite at $GITHUB_SHA"
+          git push origin HEAD:asf-site
\ No newline at end of file
diff --git a/.github/workflows/publish-site.yml b/.github/workflows/publish-site.yml
new file mode 100644
index 0000000..da36eb6
--- /dev/null
+++ b/.github/workflows/publish-site.yml
@@ -0,0 +1,33 @@
+name: Publish the website
+
+on:
+  push:
+    branches:
+      - test-site
+
+jobs:
+  publish:
+    name: Publish site
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checking out Calcite repository
+        uses: actions/checkout@v1
+      - name: Build site assets
+        working-directory: site
+        run: docker-compose run -e JEKYLL_UID=$(id -u) -e JEKYLL_GID=$(id -g) build-site
+      - name: Deploy site to calcite-site repository
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        working-directory: site
+        run: |
+          shopt -s extglob
+          git config --global user.email "builds@apache.org"
+          git config --global user.name "Calcite Automated Website Build"
+          git config --global url."https://github:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
+          git clone --depth 1 --branch asf-site https://github.com/apache/calcite-site deploy
+          cd deploy/
+          rm -rf !(apidocs|avatica|testapidocs)
+          cp -r ../target/* .
+          git add .
+          git commit -m "Automatic site deployment from Calcite at $GITHUB_SHA"
+          git push origin HEAD:asf-site
\ No newline at end of file


[calcite] 01/02: Site: Change timezone offsets for posts to UTC (+0)

Posted by fr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

francischuang pushed a commit to branch test-site
in repository https://gitbox.apache.org/repos/asf/calcite.git

commit 301af69fef526760020d6cf2bafd5ed9d9dbe2f0
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Wed Aug 14 10:45:00 2019 +1000

    Site: Change timezone offsets for posts to UTC (+0)
---
 site/_config.yml                                   | 4 ++++
 site/_posts/2014-06-27-release-0.8.0-incubating.md | 2 +-
 site/_posts/2014-08-19-release-0.9.0-incubating.md | 2 +-
 site/_posts/2014-10-02-release-0.9.1-incubating.md | 2 +-
 site/_posts/2014-11-05-release-0.9.2-incubating.md | 2 +-
 site/_posts/2015-01-31-release-1.0.0-incubating.md | 2 +-
 site/_posts/2015-03-13-release-1.1.0-incubating.md | 2 +-
 site/_posts/2015-04-07-release-1.2.0-incubating.md | 2 +-
 site/_posts/2015-04-24-new-committers.md           | 2 +-
 site/_posts/2015-06-05-algebra-builder.md          | 2 +-
 site/_posts/2015-07-31-xldb-best-lightning-talk.md | 2 +-
 site/_posts/2015-11-08-new-committers.md           | 2 +-
 site/_posts/2016-02-17-elser-pmc.md                | 2 +-
 site/_posts/2016-02-17-streaming-sql-talk.md       | 2 +-
 site/docker-compose.yml                            | 6 +++++-
 15 files changed, 22 insertions(+), 14 deletions(-)

diff --git a/site/_config.yml b/site/_config.yml
index 08427ff..26cc781 100644
--- a/site/_config.yml
+++ b/site/_config.yml
@@ -53,4 +53,8 @@ avaticaBaseurl: /avatica
 plugins:
     - jekyll-redirect-from
 
+future: true
+
+timezone: UTC
+
 # End _config.yml
diff --git a/site/_posts/2014-06-27-release-0.8.0-incubating.md b/site/_posts/2014-06-27-release-0.8.0-incubating.md
index 83f975d..bfb01da 100644
--- a/site/_posts/2014-06-27-release-0.8.0-incubating.md
+++ b/site/_posts/2014-06-27-release-0.8.0-incubating.md
@@ -1,6 +1,6 @@
 ---
 layout: news_item
-date: "2014-06-27 00:00:00 -0800"
+date: "2014-06-27 00:00:00 +0000"
 author: jhyde
 version: 0.8
 tag: v0-8
diff --git a/site/_posts/2014-08-19-release-0.9.0-incubating.md b/site/_posts/2014-08-19-release-0.9.0-incubating.md
index 7ca65ac..356f6e5 100644
--- a/site/_posts/2014-08-19-release-0.9.0-incubating.md
+++ b/site/_posts/2014-08-19-release-0.9.0-incubating.md
@@ -1,6 +1,6 @@
 ---
 layout: news_item
-date: "2014-08-19 00:00:00 -0800"
+date: "2014-08-19 00:00:00 +0000"
 author: jhyde
 version: 0.9.0-incubating
 fullVersion: apache-optiq-0.9.0-incubating
diff --git a/site/_posts/2014-10-02-release-0.9.1-incubating.md b/site/_posts/2014-10-02-release-0.9.1-incubating.md
index bca9113..38e1843 100644
--- a/site/_posts/2014-10-02-release-0.9.1-incubating.md
+++ b/site/_posts/2014-10-02-release-0.9.1-incubating.md
@@ -1,6 +1,6 @@
 ---
 layout: news_item
-date: "2014-10-02 00:00:00 -0800"
+date: "2014-10-02 00:00:00 +0000"
 author: jhyde
 version: 0.9.1-incubating
 tag: v0-9-1
diff --git a/site/_posts/2014-11-05-release-0.9.2-incubating.md b/site/_posts/2014-11-05-release-0.9.2-incubating.md
index 47741c0..69045a3 100644
--- a/site/_posts/2014-11-05-release-0.9.2-incubating.md
+++ b/site/_posts/2014-11-05-release-0.9.2-incubating.md
@@ -1,6 +1,6 @@
 ---
 layout: news_item
-date: "2014-11-05 00:00:00 -0800"
+date: "2014-11-05 00:00:00 +0000"
 author: jhyde
 version: 0.9.2-incubating
 tag: v0-9-2
diff --git a/site/_posts/2015-01-31-release-1.0.0-incubating.md b/site/_posts/2015-01-31-release-1.0.0-incubating.md
index ad60205..a5f480f 100644
--- a/site/_posts/2015-01-31-release-1.0.0-incubating.md
+++ b/site/_posts/2015-01-31-release-1.0.0-incubating.md
@@ -1,6 +1,6 @@
 ---
 layout: news_item
-date: "2015-01-31 19:03:07 -0800"
+date: "2015-01-31 19:03:07 +0000"
 author: jhyde
 version: 1.0.0-incubating
 tag: v1-0-0
diff --git a/site/_posts/2015-03-13-release-1.1.0-incubating.md b/site/_posts/2015-03-13-release-1.1.0-incubating.md
index 327b023..543f763 100644
--- a/site/_posts/2015-03-13-release-1.1.0-incubating.md
+++ b/site/_posts/2015-03-13-release-1.1.0-incubating.md
@@ -1,6 +1,6 @@
 ---
 layout: news_item
-date: "2015-03-13 19:03:07 -0800"
+date: "2015-03-13 19:03:07 +0000"
 author: jhyde
 version: 1.1.0-incubating
 tag: v1-1-0
diff --git a/site/_posts/2015-04-07-release-1.2.0-incubating.md b/site/_posts/2015-04-07-release-1.2.0-incubating.md
index 8332063..348175d 100644
--- a/site/_posts/2015-04-07-release-1.2.0-incubating.md
+++ b/site/_posts/2015-04-07-release-1.2.0-incubating.md
@@ -1,6 +1,6 @@
 ---
 layout: news_item
-date: "2015-04-07 19:03:07 -0800"
+date: "2015-04-07 19:03:07 +0000"
 author: jhyde
 version: 1.2.0-incubating
 tag: v1-2-0
diff --git a/site/_posts/2015-04-24-new-committers.md b/site/_posts/2015-04-24-new-committers.md
index 92a2466..51198fa 100644
--- a/site/_posts/2015-04-24-new-committers.md
+++ b/site/_posts/2015-04-24-new-committers.md
@@ -1,7 +1,7 @@
 ---
 layout: news_item
 title: "Calcite adds 5 committers"
-date: "2015-04-24 19:03:07 -0800"
+date: "2015-04-24 19:03:07 +0000"
 author: jhyde
 categories: [team]
 ---
diff --git a/site/_posts/2015-06-05-algebra-builder.md b/site/_posts/2015-06-05-algebra-builder.md
index ddf3377..797b1c9 100644
--- a/site/_posts/2015-06-05-algebra-builder.md
+++ b/site/_posts/2015-06-05-algebra-builder.md
@@ -1,7 +1,7 @@
 ---
 layout: news_item
 title: "Algebra builder"
-date: "2015-06-05 19:29:07 -0800"
+date: "2015-06-05 19:29:07 +0000"
 author: jhyde
 categories: ["new features"]
 ---
diff --git a/site/_posts/2015-07-31-xldb-best-lightning-talk.md b/site/_posts/2015-07-31-xldb-best-lightning-talk.md
index 1034629..b128c89 100644
--- a/site/_posts/2015-07-31-xldb-best-lightning-talk.md
+++ b/site/_posts/2015-07-31-xldb-best-lightning-talk.md
@@ -1,7 +1,7 @@
 ---
 layout: news_item
 title: "XLDB 2015 best lightning talk"
-date: "2015-07-31 11:53:00 -0800"
+date: "2015-07-31 11:53:00 +0000"
 author: jhyde
 categories: ["talks"]
 ---
diff --git a/site/_posts/2015-11-08-new-committers.md b/site/_posts/2015-11-08-new-committers.md
index 17ec09a..bb7a59b 100644
--- a/site/_posts/2015-11-08-new-committers.md
+++ b/site/_posts/2015-11-08-new-committers.md
@@ -1,7 +1,7 @@
 ---
 layout: news_item
 title: "Calcite adds 2 committers"
-date: "2015-11-08 19:03:07 -0800"
+date: "2015-11-08 19:03:07 +0000"
 author: jhyde
 categories: [team]
 ---
diff --git a/site/_posts/2016-02-17-elser-pmc.md b/site/_posts/2016-02-17-elser-pmc.md
index 960fe79..27631b8 100644
--- a/site/_posts/2016-02-17-elser-pmc.md
+++ b/site/_posts/2016-02-17-elser-pmc.md
@@ -1,7 +1,7 @@
 ---
 layout: news_item
 title: "Calcite appoints Josh Elser to PMC"
-date: "2016-02-17 10:30:00 -0800"
+date: "2016-02-17 10:30:00 +0000"
 author: jhyde
 categories: [team]
 ---
diff --git a/site/_posts/2016-02-17-streaming-sql-talk.md b/site/_posts/2016-02-17-streaming-sql-talk.md
index df376b7..d037850 100644
--- a/site/_posts/2016-02-17-streaming-sql-talk.md
+++ b/site/_posts/2016-02-17-streaming-sql-talk.md
@@ -1,7 +1,7 @@
 ---
 layout: news_item
 title: "Streaming SQL in Samza"
-date: "2016-02-17 11:53:00 -0800"
+date: "2016-02-17 11:53:00 +0000"
 author: jhyde
 categories: ["talks"]
 ---
diff --git a/site/docker-compose.yml b/site/docker-compose.yml
index 13b808c..f975655 100644
--- a/site/docker-compose.yml
+++ b/site/docker-compose.yml
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '3'
+version: '3.7'
 services:
   dev:
     image: jekyll/jekyll:3
@@ -22,11 +22,15 @@ services:
       - 4000:4000
     volumes:
       - .:/srv/jekyll
+    environment:
+      TZ: "UTC"
   build-site:
     image: jekyll/jekyll:3
     command: jekyll build
     volumes:
       - .:/srv/jekyll
+    environment:
+      TZ: "UTC"
   generate-javadoc:
     image: maven
     working_dir: /usr/src/calcite