Clone
 

taewoo kim <wangsaeu@yahoo.com> in asterixdb

[NO ISSUE][COMP][RT] Enable multiway similarity joins

- Enable the FuzzyJoinRule that transforms

a nested-loop-similarity-join plan to a three-stage-similarity join.

- Modify FuzzyJoinRuleCollections.

- Add the ExtractCommonExpressionRule to extract common expressions

in the star-like multiple similarity join substitutions.

- Add the InlineSubplanInputForNestedTupleSourceRule to translate

the generated subplan from the similarity function-derived

substitution into join in case of nested schemas.

- Use similarity-jaccard-prefix to enable the pp+ join strategy.

- Use the right side to build the heavy hash join on

the prefix tokens from both sides.

- Add RemoveAssign/Variables/AggRules to iteratively remove unused

assign/vars once FuzzyJoinRule is applied in each round.

- Add three new optimization cases for multiway similarity joins.

- link-like multiway similarity joins

- star-like multiway similarity joins

- hybrid multiway similarity joins with the both styles of similarity joins.

- Add a check whether a similarity function is on

a select over an existing similarity join.

- Change the inverted-index-based similarity join to the three-stage-similarity join

due to efficiency considerations.

Change-Id: I8736f104905eeda763d39709e002c2b9629278cc

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1076

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

Reviewed-by: Taewoo Kim <wangsaeu@gmail.com>

    • -0
    • +100
    /asterixdb/asterix-app/data/dblp-small/csx-small-multi-id.txt
    • -0
    • +100
    /asterixdb/asterix-app/data/dblp-small/dblp-small-multi-id.txt
    • -0
    • +100
    /asterixdb/asterix-app/data/pub-small/csx-small-multi-id.txt
    • -0
    • +196
    /asterixdb/asterix-app/data/pub-small/csxauthors.adm
    • -0
    • +100
    /asterixdb/asterix-app/data/pub-small/dblp-small-multi-id.txt
    • -0
    • +194
    /asterixdb/asterix-app/data/pub-small/dblpauthors.adm
  1. … 246 more files in changeset.
[ASTERIXDB-2455][DOC] Deprecate AQL documentations

- user model changes: no

- storage format changes: no

- interface changes: no

details:

- Create [Deprecated] section and move AQL docs to there.

- Move some docs from /aql directory to /sqlpp directory.

Change-Id: I677dd7a8d114197eaa2ae93e0405184526b31a03

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2977

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Ian Maxon <imaxon@apache.org>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

    • -0
    • +147
    /asterixdb/asterix-doc/src/site/markdown/sqlpp/filters.md
    • -0
    • +114
    /asterixdb/asterix-doc/src/site/markdown/sqlpp/fulltext.md
    • -0
    • +227
    /asterixdb/asterix-doc/src/site/markdown/sqlpp/similarity.md
    • -11
    • +11
    /asterixdb/asterix-doc/src/site/site.xml
[ASTERIXDB-2437][COMP] Ensure the index-only plan on a composite index

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Ensure the proper build of an index-only plan on a composite index

where both fields are used in the SELECT condition and only one field

is returned.

Change-Id: Idcc4cbe08323e0c6edb4a01637b2017128da1ab5

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2854

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

[ASTERIXDB-2409][RT] Make the full-text search return entire results

- user model changes: no

- storage format changes: no

- interface changes: no

details:

Currently, the full-text search returns a subset of true results

(only one frame) for multiple keywords queries if the result size

is greater than one frame. This patch fixes the issue.

Change-Id: I8e4a6b949017259b015798fac767bbee35e37b20

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2742

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

[ASTERIXDB-2374][RT] Index-only plan on B+Tree disk components

- user model changes: no

- storage format changes: no

- interface changes: no

Details: Let the index-only plan properly work on the disk components of B+Tree.

Currently, only the records from in-memory components has been applied because

searchCallback.proceed() is only called for those.

Change-Id: I655eacc5517352a382d1b61f7b630f0f307b7c7b

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2623

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

[ASTERIXDB-2349][SITE] Revise fulltext and similarity documentation

- user model changes: no

- storage format changes: no

- interface changes: no

Details: Update all examples in the fulltext and similarity documentation

using SQLPP.

Change-Id: Icd9c5bc6249feb03b4297bdc84b5f3aa0efcdc47

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2567

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Ian Maxon <imaxon@apache.org>

[ASTERIXDB-2338][RT] Allow concurrent accesses to an inverted list

- user model changes: no

- storage format changes: no

- interface changes: no

Details: Fix a bug that when a page of an inverted list

that is pinned to the buffer cache is accessed concurrently.

Change-Id: I0d6e7e7188efe1f08016af0ab1840bc0cb59d49c

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2517

Reviewed-by: Luo Chen <cluo8@uci.edu>

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

[NO ISSUE][COMP][RT] Rename index-only test case directory

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Rename index-only test case directories to a shorter version

not to cause issues on Windows environment.

Change-Id: I360bd650391586a0101cb2eb639c330534753112

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2472

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Ian Maxon <imaxon@apache.org>

  1. … 329 more files in changeset.
[NO ISSUE][COMP][RT] Rename index-only test case files

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Rename index-only test case files to a shorter version

not to cause issues on Windows environment.

Change-Id: I4a4bb7b045a430bd446aed756f58af7b4c2a6eaa

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2468

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Till Westmann <tillw@apache.org>

  1. … 427 more files in changeset.
[NO ISSUE][RT] no latching on an inverted list during merge

- user-model changes: no

- storage format changes: no

- interface changes: no

Details:

- Do not conduct a latching on an inverted list during

a disk component merge of an inverted index since

a disk component is immutable.

Change-Id: I266135596bbd5158d5fcf5ce3d1735d407be6f0f

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2444

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

[ASTERIXDB-2296][COMP] proper handling of an optional subfield type

- user-model changes: no

- storage format changes: no

- interface changes: no

Details:

- Handle an optional subfield type properly in

AbstractIntroduceAccessMethodRule.getFieldNameFromSubTree()

Change-Id: Ia80b6dbf549b77295f310b7c6f3a3f3f5a323114

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2419

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

[NO ISSUE][RT] Ensure an inverted list cursor.close()

- user model changes: no

- storage format changes: no

- interface changes: no

details:

- Ensure to always execute an inverted list cursor.close().

Change-Id: I78c7908830be810b1d40abffffbd5f1978818869

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2410

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

[ASTERIXDB-2083][COMP][RT][IDX][SITE] Budget-Constrained Inverted index search

- user-model changes: add text.searchmemory parameter

- storage format changes: no

- interface changes: IInvertedIndexSearcher, IInPlaceInvertedIndex,

IInvertedIndexAccessor, IInvertedListCursor

IObjectFactory, IPartitionedInvertedIndex,

IIndexAccessor

Details:

- Introduce text.searchmemory parameter in the configuration

to conduct budget-constrained inverted index search to prevent

a possible OOM exception

- Remove non-standard hyracks task context from the inverted-index-search

Change-Id: Ib2b2ef7c0b8c55ef66a5322be5d97ebbbf287bf5

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2251

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

    • -0
    • +20000
    /asterixdb/asterix-app/data/csv/fragile_sample.csv
  1. … 86 more files in changeset.
[ASTERIXDB-1972][COMP][RT][TX] index-only plan

- user model changes: no

- storage format changes: no

- interface changes: IAccessMethod, ILSMIndexOperationContext,

IIndexAccessor

Details:

- Implement an index-only plan

- Add a SET option that disables the index-only plan

Change-Id: Ifd5c9ab1cf2e4bedb7d8db582441919875e74d51

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1866

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Taewoo Kim <wangsaeu@gmail.com>

  1. … 410 more files in changeset.
[NO ISSUE] Disable net.revelc.code.formatter on Eclipse

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Disable net.revelc.code.formatter on Eclipse since

it doesn't support this plugin.

Change-Id: I8748a1a7f15547c1af79ad562016d1671fd86e8f

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2340

Reviewed-by: Ian Maxon <imaxon@apache.org>

Contrib: Ian Maxon <imaxon@apache.org>

Integration-Tests: Ian Maxon <imaxon@apache.org>

Tested-by: Ian Maxon <imaxon@apache.org>

[ASTERIXDB-1984][COMP] probe-subtree init not required - fix #2

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Let the IntroduceJoinAccessMethod accept arbitrary

forms of sub-tree for the probe-tree.

Change-Id: Ibdf0baa060efa35a173d00e15f0a348937f2e7f6

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2175

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Taewoo Kim <wangsaeu@gmail.com>

[ASTERIXDB-2153][COMP][RT] Ensure the fulltext search option is properly handled

- user model changes: no

- storage format changes: no

- interface changes: no

details:

When a fulltext search operation is combined with multiple

other predicates, the fulltext search option was not handled

properly. This patch set ensures that the fulltext search option

is correctly handled.

Change-Id: I240fbe08891d29532c6fcd60638a3b6bbe8da771

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2116

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Taewoo Kim <wangsaeu@gmail.com>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

  1. … 19 more files in changeset.
[NO ISSUE][RT][IDX] Simplify index.createAccessor()

- user model changes: no

- storage format changes: no

- interface change: yes

(changed) IIndex, ILSMIndex

(new) IIndexAccessParameters

details:

- Refactor index.createAccessor() method to accept

an instance of IIndexAccessParameters as its parameter

since currently only ModificationCallBack and

SearchOperationCallback can be passed. If an accessor

needs to have additional parameters, there was no way

to pass them.

Change-Id: Iae015c342e830c81d666428447b595280139740e

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2120

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

  1. … 60 more files in changeset.
[ASTERIXDB-1984][COMP] probe-subtree init not required

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Let the IntroduceJoinAccessMethod accept arbitrary

forms of sub-tree for the probe-tree.

Change-Id: Ib353c85bf627d8dd65dba0ea307dee428edb4a26

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2030

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

Expected Hash Table footprint size calculation fix

- Fix the expected hash table footprint size calculation

based on the cardinality. An operand was missing.

Change-Id: I9eb658a189fcf3d68978f627959c67d0c2641a29

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1738

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

ASTERIXDB-1789: fix an accessor that is used by Hash Table

- Fix an accesor that is used by SerializableHashTable class.

This accessor class is required to calculate the original

hash value of a tuple when compacting the hash table.

Change-Id: I74b6de8f189e841c16735dbd63f13892bbd61c20

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1734

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

ASTERIXDB-1892: Sets a proper hash table cardinality during hash-group by

- Set a proper hash table cardinality during the merge phase

of the external hash group-by operator.

- Currently, the number of tuples in a spilled partition is

used as the hash table cardinality. And this can cause an issue

since compiler.groupmemory size is not considered.

- So, like the initial group-by build phase, the hash table

cardinality will be set properly based on the memory budget for

the group-by operator.

Change-Id: I651139b2b559ad4d2f6137a5c844814606516a90

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1702

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

Index-Only Plan Patch Set 4: Index SearchCursor adjustment

- Modify the search cursors to maintain the result of proceed()

since the result will be required to check whether the given tuple

is qualified to be part of an index-only plan result or not.

More details will be followed in the next patch set.

- Fix the search cursors to call cancel() correctly.

Change-Id: I299b1858b7875ffc116f8f3115d319fe7b53a537

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1630

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

ASTERIXDB-1877: Tokenizer in FullText Search fix

- Sets the starting offset of the string correctly before

it is used in the tokenizer of FullTextContainsEvaluator.

Change-Id: Ic949ccc0cc3e66c489f4c8435672a74c70b7c0e7

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1668

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Jianfeng Jia <jianfeng.jia@gmail.com>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Fix ASTERIXDB-1867: get Plan String only when context is not null

- Fix AbstractRuleController so that getPlanString() is

only executed when context is not null.

Change-Id: I4c4dfb50f16c48e4b09e8148d13f0debbd2de659

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1651

Reviewed-by: Xikui Wang <xkkwww@gmail.com>

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Index-only plan step 3: Top-down Select and Join transformation rule

- Converted IntroduceSelectAccessMethodRule and IntroduceJoinAccessMethodRule

from bottom-up approach to top-down approach from the root operator.

- Index-only plan needs to verify the variables that are live in the select or join condition

are the only variables to be used afterwards unless a variable is generated after the select or join operator.

- In order to keep this information, top-down approach needs to be introduced.

Change-Id: I60a2a61eb46851d4c16c8f17447e3ac9b0aca778

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1551

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

Let SPLIT operator work as expected

- Let SPLIT operator function as expected in the optimization framework

by referencing the information for the REPLICATE operator

Change-Id: I999288ea4cf286e34d735a840843bf161876d3e3

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1542

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

ASTERIXDB-1806: let inject_failure not utilize an index

- Change the condition check logic of index transformation rule

so that only arguments of AND function can be checked.

- Let Index TransFormation Rule ignore Inject_failure()

since the function can't utilize the index because of its arguments.

Change-Id: I5ca2da1eb08fbb7c27205bdff9795c0aa816794b

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1536

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

Truncate a temporary file before deleting it.

- Before RunFileReader tries to delete a temporary file,

make sure to truncate the file since OS might keep the

deleted file for a while, thus taking disk space.

Change-Id: Ie906c9f950e2f31af6f1b5ecc9cb35829d3edf8a

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1501

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

AQLPlus Refactoring 2: AQL+ grammar generation and AQLPlusExpressionToPlanTranslator

- Apply a systematic way of generating AQL+ grammar from AQL grammar instead of

having a separate grammar file and updating it by hand.

- Refactor AQLPlusExpressionToPlanTranslator so that it extends

AQLExpressionToPlanTranslator. This makes this class now follows

the current translation logic and it doesn't have to manually updated for

AQL expressions.

Change-Id: I444dbf4f615c23ccd69a5e4bb1ead300d0a81451

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1434

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

    • -0
    • +175
    /asterixdb/asterix-algebra/src/main/javacc/AQLPlusExtension.jj