Return-Path: X-Original-To: apmail-asterixdb-notifications-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 611AC18805 for ; Mon, 1 Feb 2016 21:56:38 +0000 (UTC) Received: (qmail 71429 invoked by uid 500); 1 Feb 2016 21:56:14 -0000 Delivered-To: apmail-asterixdb-notifications-archive@asterixdb.apache.org Received: (qmail 71365 invoked by uid 500); 1 Feb 2016 21:56:14 -0000 Mailing-List: contact notifications-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list notifications@asterixdb.incubator.apache.org Received: (qmail 71277 invoked by uid 99); 1 Feb 2016 21:56:14 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2016 21:56:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2F966C0E1A for ; Mon, 1 Feb 2016 21:56:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.92 X-Spam-Level: X-Spam-Status: No, score=0.92 tagged_above=-999 required=6.31 tests=[SPF_FAIL=0.919, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id OENiAcaCTA4H for ; Mon, 1 Feb 2016 21:56:01 +0000 (UTC) Received: from unhygienix.ics.uci.edu (unhygienix.ics.uci.edu [128.195.14.130]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id 4464B43F58 for ; Mon, 1 Feb 2016 21:56:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by unhygienix.ics.uci.edu (Postfix) with ESMTP id EBDCB241216; Mon, 1 Feb 2016 13:51:41 -0800 (PST) Date: Mon, 1 Feb 2016 13:51:41 -0800 From: "Preston Carman (Code Review)" To: Jenkins CC: Till Westmann Reply-To: prestonc@apache.org X-Gerrit-MessageType: newpatchset Subject: Change in asterixdb[master]: ASTERIXDB-1281 - Interval format update to AQL and ADM X-Gerrit-Change-Id: I009c71b7a445d141e228ba15d56d0b6cf3c8a3f5 X-Gerrit-ChangeURL: X-Gerrit-Commit: 2cefa2411c17e23a65373b3226358620595adc1b In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.8.4 Message-Id: <20160201215141.EBDCB241216@unhygienix.ics.uci.edu> Hello Jenkins, I'd like you to reexamine a change. Please visit https://asterix-gerrit.ics.uci.edu/602 to look at the new patch set (#5). Change subject: ASTERIXDB-1281 - Interval format update to AQL and ADM ...................................................................... ASTERIXDB-1281 - Interval format update to AQL and ADM The new interval format takes a more generic approach to representing intervals. Here is an example for a date interval: interval(date("2012-01-01”), date(”2013-04-01”)) Note that the interval type is defined by the arguments to the interval expression. Currently only date, time, and datetime types are supported for intervals. The new format is used for ADM and AQL. In addition to the format change, the internal byte structure of an interval has been updated. The format looks like the following: byte tag, T start, T end (where T is a date, time or datetime type) Note how the tag has been moved to the front. Also with the new sturcture, an interval is variable length, not fixed length as before. Change-Id: I009c71b7a445d141e228ba15d56d0b6cf3c8a3f5 --- M asterix-app/data/temporal/simpletemp_30.json M asterix-app/data/temporal/temporalData.json M asterix-app/src/test/resources/runtimets/queries/comparison/interval_order/interval_order.3.query.aql M asterix-app/src/test/resources/runtimets/queries/comparison/interval_order/interval_order.4.query.aql M asterix-app/src/test/resources/runtimets/queries/comparison/issue363_equality/issue363_equality.3.query.aql M asterix-app/src/test/resources/runtimets/queries/comparison/issue363_inequality_interval/issue363_inequality_interval.3.query.aql M asterix-app/src/test/resources/runtimets/queries/constructor/interval/interval.3.query.aql M asterix-app/src/test/resources/runtimets/queries/temporal/accessors_interval/accessors_interval.3.query.aql M asterix-app/src/test/resources/runtimets/queries/temporal/duration_functions/duration_functions.3.query.aql M asterix-app/src/test/resources/runtimets/queries/temporal/get_overlapping_interval/get_overlapping_interval.3.query.aql M asterix-app/src/test/resources/runtimets/queries/temporal/interval_functions/interval_functions.3.query.aql M asterix-app/src/test/resources/runtimets/queries/temporal/overlap_bins/overlap_bins.3.query.aql M asterix-app/src/test/resources/runtimets/queries/temporal/overlap_bins_gby_3/overlap_bins_gby_3.3.query.aql M asterix-app/src/test/resources/runtimets/queries_sqlpp/comparison/issue363_equality/issue363_equality.3.query.sqlpp M asterix-app/src/test/resources/runtimets/queries_sqlpp/comparison/issue363_inequality_interval/issue363_inequality_interval.3.query.sqlpp M asterix-app/src/test/resources/runtimets/queries_sqlpp/constructor/interval/interval.3.query.sqlpp M asterix-app/src/test/resources/runtimets/queries_sqlpp/temporal/accessors_interval/accessors_interval.3.query.sqlpp M asterix-app/src/test/resources/runtimets/queries_sqlpp/temporal/duration_functions/duration_functions.3.query.sqlpp M asterix-app/src/test/resources/runtimets/queries_sqlpp/temporal/get_overlapping_interval/get_overlapping_interval.3.query.sqlpp M asterix-app/src/test/resources/runtimets/queries_sqlpp/temporal/interval_functions/interval_functions.3.query.sqlpp M asterix-app/src/test/resources/runtimets/queries_sqlpp/temporal/overlap_bins/overlap_bins.3.query.sqlpp M asterix-app/src/test/resources/runtimets/queries_sqlpp/temporal/overlap_bins_gby_3/overlap_bins_gby_3.3.query.sqlpp M asterix-app/src/test/resources/runtimets/results/comparison/interval_order/interval_order.3.adm M asterix-app/src/test/resources/runtimets/results/comparison/interval_order/interval_order.4.adm M asterix-app/src/test/resources/runtimets/results/constructor/interval/interval.1.adm M asterix-app/src/test/resources/runtimets/results/temporal/get_overlapping_interval/get_overlapping_interval.1.adm M asterix-app/src/test/resources/runtimets/results/temporal/insert_from_ext_ds/insert_from_ext_ds.1.adm M asterix-app/src/test/resources/runtimets/results/temporal/insert_from_ext_ds_2/insert_from_ext_ds_2.1.adm M asterix-app/src/test/resources/runtimets/results/temporal/interval_bin/interval_bin.1.adm M asterix-app/src/test/resources/runtimets/results/temporal/interval_bin_gby_0/interval_bin_gby_0.1.adm M asterix-app/src/test/resources/runtimets/results/temporal/interval_bin_gby_1/interval_bin_gby_1.1.adm M asterix-app/src/test/resources/runtimets/results/temporal/overlap_bins/overlap_bins.1.adm M asterix-app/src/test/resources/runtimets/results/temporal/overlap_bins_gby_0/overlap_bins_gby_0.1.adm M asterix-app/src/test/resources/runtimets/results/temporal/overlap_bins_gby_1/overlap_bins_gby_1.1.adm M asterix-app/src/test/resources/runtimets/results/temporal/overlap_bins_gby_3/overlap_bins_gby_3.1.adm M asterix-app/src/test/resources/runtimets/results_parser_sqlpp/comparison/issue363_equality/issue363_equality.3.ast M asterix-app/src/test/resources/runtimets/results_parser_sqlpp/comparison/issue363_inequality_interval/issue363_inequality_interval.3.ast M asterix-app/src/test/resources/runtimets/results_parser_sqlpp/constructor/interval/interval.3.ast M asterix-app/src/test/resources/runtimets/results_parser_sqlpp/temporal/accessors_interval/accessors_interval.3.ast M asterix-app/src/test/resources/runtimets/results_parser_sqlpp/temporal/duration_functions/duration_functions.3.ast M asterix-app/src/test/resources/runtimets/results_parser_sqlpp/temporal/get_overlapping_interval/get_overlapping_interval.3.ast M asterix-app/src/test/resources/runtimets/results_parser_sqlpp/temporal/interval_functions/interval_functions.3.ast M asterix-app/src/test/resources/runtimets/results_parser_sqlpp/temporal/overlap_bins/overlap_bins.3.ast M asterix-app/src/test/resources/runtimets/results_parser_sqlpp/temporal/overlap_bins_gby_3/overlap_bins_gby_3.3.ast M asterix-app/src/test/resources/runtimets/testsuite.xml M asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml M asterix-app/src/test/resources/runtimets/testsuite_sqlpp_parser.xml M asterix-doc/src/site/markdown/aql/allens.md M asterix-doc/src/site/markdown/aql/datamodel.md M asterix-doc/src/site/markdown/aql/functions.md M asterix-external-data/src/main/java/org/apache/asterix/external/parser/ADMDataParser.java M asterix-external-data/src/main/java/org/apache/asterix/external/parser/AbstractDataParser.java M asterix-external-data/src/main/resources/adm.grammar M asterix-external-data/src/test/java/org/apache/asterix/runtime/operator/file/ADMDataParserTest.java M asterix-om/src/main/java/org/apache/asterix/dataflow/data/nontagged/comparators/AIntervalAscPartialBinaryComparatorFactory.java M asterix-om/src/main/java/org/apache/asterix/dataflow/data/nontagged/comparators/AIntervalDescPartialBinaryComparatorFactory.java M asterix-om/src/main/java/org/apache/asterix/dataflow/data/nontagged/printers/adm/AIntervalPrinter.java M asterix-om/src/main/java/org/apache/asterix/dataflow/data/nontagged/printers/json/clean/AIntervalPrinter.java M asterix-om/src/main/java/org/apache/asterix/dataflow/data/nontagged/printers/json/lossless/AIntervalPrinter.java M asterix-om/src/main/java/org/apache/asterix/dataflow/data/nontagged/serde/AIntervalSerializerDeserializer.java M asterix-om/src/main/java/org/apache/asterix/dataflow/data/nontagged/serde/AOrderedListSerializerDeserializer.java M asterix-om/src/main/java/org/apache/asterix/dataflow/data/nontagged/serde/AUnorderedListSerializerDeserializer.java M asterix-om/src/main/java/org/apache/asterix/om/functions/AsterixBuiltinFunctions.java M asterix-om/src/main/java/org/apache/asterix/om/pointables/AListVisitablePointable.java M asterix-om/src/main/java/org/apache/asterix/om/pointables/printer/json/clean/APrintVisitor.java M asterix-om/src/main/java/org/apache/asterix/om/pointables/printer/json/lossless/APrintVisitor.java M asterix-om/src/main/java/org/apache/asterix/om/util/NonTaggedFormatUtil.java R asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/constructors/AIntervalConstructorDescriptor.java D asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/constructors/AIntervalFromDateTimeConstructorDescriptor.java D asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/constructors/AIntervalFromTimeConstructorDescriptor.java M asterix-runtime/src/main/java/org/apache/asterix/runtime/formats/NonTaggedDataFormat.java 71 files changed, 915 insertions(+), 1,530 deletions(-) git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/02/602/5 -- To view, visit https://asterix-gerrit.ics.uci.edu/602 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I009c71b7a445d141e228ba15d56d0b6cf3c8a3f5 Gerrit-PatchSet: 5 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Preston Carman Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Preston Carman Gerrit-Reviewer: Till Westmann