Clone
 

xikui wang <xkkwww@gmail.com> in asterixdb

[NO ISSUE] Fix type inference for ANY in UDFs

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

When data type is available, we should use defined data type. If not, we

should try to infer the data type from the data.

Change-Id: I6a03749fe041ec6f43de230d3e784122f7664545

Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/3405

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

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

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

Reviewed-by: Ian Maxon <imaxon@uci.edu>

[NO ISSUE][FUN] Fix type inference and casting in UDFs

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

The current UDF framework handles the argument types in a sloppy way. It

takes in the arguments and reads them as the expected data types in the

configuration. This could cause exception at runtime when passing in

arguments with unexpected datatypes. When setting the arguments, it did

a type casting for numeric values only to make sure the int64 from query

interface can be evaluated properly. However, this is not robust enough.

This patch fixes the type inference for UDFs during the complation time.

The ExternalTypeComputer is refactored to return defined data type, and

meanwhile checks the argument data types. Also, the

IntroduceDynamicTypeCastForExternalFunctionRule is modified to cover the

type castings for data types besides record type.

Change-Id: I40506fcca3cd8f14bbd6412359683433256c4c1f

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

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

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

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

  1. … 17 more files in changeset.
[NO ISSUE][FUN] Fix type inference in JListAccessor

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

As the list element type is available, there is no need to deserialize

element types from the data. Doing so, for example, will cause the

object type to be fully open type and closed fields to be recognized as

open fields. This will further cause NPE in UDFs. Modified the upperCase

test case to check this issue.

Change-Id: I4f437857779e5c0af175c695938fbd7208da244d

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

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>

[ASTERIXDB-2514] Fix BigInt display in formatted JSON

- user model changes: no

- storage format changes: no

- interface changes: no

Javascript treats all numbers as doubles. This causes large BigInt

values cannot be displayed properly in the formatted JSON option, and

the lower digits are replaced with "0". In this patch, we cast the

numbers into strings with special characters, and cast those strings

back after they are parsed by the JSON parser. Also, to make sure future

new data types can be displayed properly, the default JSON display is

set to "literal".

Change-Id: I1bbef349efba0da24d01afb1cb17b4f7d5b7f261

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

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: Michael Blow <mblow@apache.org>

[NO ISSUE][EXT] Fix JRecord setField for open fields

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

setField method should be able to handle open fields.

Change-Id: I4ec185d62e78e8100215334bc656586268314797

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

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: Ali Alsuliman <ali.al.solaiman@gmail.com>

[ASTERIXDB-2495][ING] Avoid LET in applying functions to feeds

- user model changes: no

- storage format changes: no

- interface changes: no

LET is not necessary for applying functions to data feeds. We could

inline the function calls when constructing the pipeline query.

Change-Id: I65842f9ac84891b363d7e0a02425258d0df794e7

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

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: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

[NO ISSUE][ING] TweetParserFactory fix

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Fix the TweetParserFactory so it returns the correct record class.

Change-Id: If330bf060423027e01787224d1b2e93fd4d33d71

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

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: Wail Alkowaileet <wael.y.k@gmail.com>

[NO ISSUE][ING] Tweets ingestion related refactoring

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

As the incoming Tweets are merely JSON records, the Twitter adapter

should be able to use JSON parser. For that purpose, we changed the

record record to be consistent with JSONDataParser which uses char[]

instead of String. Also, "JSON" should also be a valid way to specify

using JSON parser.

Change-Id: Id6d656a4af974499ef0df2e389152ca205c2d078

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

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: Wail Alkowaileet <wael.y.k@gmail.com>

[ASTERIXDB-2480][ING] Fix http-feed compatibility with JSON parser

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

The generic record used in current http-feed returns length of "-1"

which will cause the JSON parser to fail. For compatibility

consideration, we should use CharArrayRecord instead.

Change-Id: I719c98376583a3316dbc291696df65a97dd4b26e

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

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: Wail Alkowaileet <wael.y.k@gmail.com>

[NO ISSUE][RT] Replace HybridHashJoin with OptimizedHybridHashJoin

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

The HybridHashJoinOperator is an old implenetation which haven't been

used in the runtime, and it lacks necessary documentation and memory

management. The OptimizedHybridHashJoinOperatorDescriptor serves the

same purpose. We should use this instead and avoid maintaining the old

one.

Change-Id: I6ed612cc233af1b78d453c7b711077b82e721e82

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

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: Xikui Wang <xkkwww@gmail.com>

[ASTERIXDB-2264][ING] Introduce Http Feed Adapter

- user-model changes: add http_adapter for feed.

- storage format changes: no

- interface changes: no

Details:

1. Added http feed. User may use following syntax to create a http feed:

create feed TweetFeed with {

"adapter-name" : "http_adapter",

"addresses" : "asterix_nc2:10002,asterix_nc1:10001",

"address-type" : "NC",

"type-name" : "TweetMessageType",

"format" : "adm"

};

2. Refactored insert-feed test case to avoid waiting for 10s.

3. Refactored some constants in feeds.

Change-Id: I3c197a3df557ecc01f07f0907688c4ea81379e40

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

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

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>

    • -0
    • +8
    /asterixdb/asterix-external-data/pom.xml
  1. … 8 more files in changeset.
[NO ISSUE][FUN] Add more data types for external library

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

1. Added more types for external library.

2. Added test case for data types.

3. Fixed minor bug where the parameter type is not trimmed in UDF.

Change-Id: I6ce73e791533b0617074536e0d841242d9e0ee31

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

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>

[NO ISSUE] User-defined Function Documentation update

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

1. Updated the UDF documentation to be consisten with current master.

2. Cleaned default UDF package to remove useless UDFs.

3. Added the example in documentation as a test case for IT.

4. Reorganized the documentation to keep up with the new structure.

5. Minor changes to other documentation pages to keep style consistent.

Change-Id: I17b1b4d639ca38689298ce88145257e794eb90e1

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

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>

    • -0
    • +358
    /asterixdb/asterix-doc/src/main/data_ingestion/feeds.md
  1. … 13 more files in changeset.
[NO-ISSUE][COMP] Avoid adding redundant var in AbstractIntroduceGroupByCombinerRule

- user model changes: no

- storage format changes: no

- interface changes: no

For live variables added in new Group-by op, they should not be added

again.

Change-Id: Ic1ab9aee31db95d5782385bc3d53777da54f6d83

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

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>

[NO ISSUE][COMP] Location order fix in AlgebricksAbsolutePartitionConstraint

- user model changes: no

- storage format changes: no

- interface changes: no

Change-Id: I1550de5b807034089d2b83d19e51490c8df5a9d0

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

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>

[NO ISSUE][FUN] Bug fixes in JObjectAccessors

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

1. Align the deserialization start of several datatypes.

2. Assign the open fields in JRecord properly in JRecordAccessor.

Change-Id: I131f1bf70f01cd763cfd008abcba704e757c864e

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

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>

[NO ISSUE][FUN] Fix drop-if-exists for functions

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

The current handleFunctionDropStatement method doesn't cover the case

while function != null && stmt.getIfExists() == true.

Change-Id: I83ad25de6aee6b38340843e9c9e150ea272a9dbd

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

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-2412][COMP] ExtractCommonExpressionsRule fix

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

ExtractCommonExpressionsRule should not be applied to JOIN by using

Cartesian Product + SELECT since it will add extract overhead. Also,

blindly adding SELECT without checking GROUP-BY and other possible OPs

in between could cause type inference error.

Change-Id: I20e1fa161c42e0494c7ca587b8bffdc80d656058

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

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: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

  1. … 10 more files in changeset.
[ASTERIXDB-2415][COMP] Type inference fix in InjectTypeCastForSwitchCaseRule

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

For dual inputs operator, its type inference should start from current

Op so that it wouldn't fail for the join case when there are variable

usages in conditions from the 2nd branch.

Change-Id: I7c18bc58381bab2c25d1e58ee7bab7f1b2aaf440

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

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: Xikui Wang <xkkwww@gmail.com>

[NO ISSUE][*DB] Enable external library on Java 10

Change-Id: Ic3ba3c5597a1353ac4d1c3f690d6d32bfd978033

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

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

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

    • -0
    • +23
    /asterixdb/asterix-external-data/pom.xml
[NO-ISSUE][COMP] Copy hint when replicate OperatorExpr

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

The hints are not copied over when Copy or Clone OperatorExpr.

Change-Id: I5eef37e525b7d1bec842e3488d8b63f88ddc05ea

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

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>

[NO ISSUE][COMP] Prevent broadcast hint changes left-outer-join semantic

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

The current way of handling broadcast hint can cause a problem in a

certain case. When we have a subquery containing join, the inline

subplan rule will transform it into a left-outer-join. If the join in

the subquery has a broadcast hint and the broadcast side is left, then

the JoinUtils will switch the two branches blindly which can break the

semantic of the left-outer-join.

Change-Id: I522b5f1edf35a1c46f2e2ef1b265049d3c18a575

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

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>

[ASTERIXDB-2394][COMP] Align VarCounter in query rewritting

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Currently, before we do certain language rewritings, we take a snapshot

of the var counter in the context and pass it to the rewriter. This

works fine in most of the cases, but it can fail when the rewriter

introduces new variables. This will cause different variables map to the

same variable id. Although this error may be fixed by another

ScopingVisitor, the compiler could fail if there is no more visitor down

in the rewriting workflow.

Change-Id: I8ea1ee7de140d6556af03f07a5ec7bc278b011ba

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

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: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

  1. … 16 more files in changeset.
[ASTERIXDB-2375][RT] Evaluate constant experession in SELECT only once

- user model changes: none

- storage format changes: none

- interface changes: new method added to ComparisonHelper to handle

cached value.

Currently, in datascan case, the constant value is evaluated on per

tuple bases. We could cache the value to avoid the deserialization of

the constant value each time.

Change-Id: Iae4e78928da2bd63b2984b3624b88baed9b7cd73

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

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>

  1. … 13 more files in changeset.
[NO ISSUE][DOC] Documentation update for Feed

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Changed to SQL++ syntax.

- Updated all syntax to the current master version.

- Removed RSS feed which is not used.

- Validated all examples locally.

Change-Id: I5ddc0fb3eabd6dcf37646ec0e48647d87c2bb3b2

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

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>

[ASTERIXDB-2366][TEST] Optimizer tests cleanup for SQL++

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

The current optimizerTest actually doesn't use the SQL++ test cases.

The existed test cases for SQLPP also have various issues.

This patch cleans part of the test cases which failed at variable names

changes in the result query plan.

Change-Id: I8dbe67d6376d517a4919e8478a6e88326b3e1cc0

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

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>

  1. … 445 more files in changeset.
[NO ISSUE][COMP] Fix infinite loop in CheckFilterExpressionTypeRule

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

When select condition is a UNION type, but not a BOOLEAN or ANY, this rule

may fall into infinite loop.

Change-Id: Ice4c9aa61658197a7140517d0a770886dfe040ec

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

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>

[NO ISSUE][RT] Remove runtime from ActiveManager after it stops

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

The runtime should not be removed before it's fully stopped. This may

causes issues when downstream operators need to access runtime during

shutdown.

Change-Id: I07c6398f46d4bb6d29b270aa71dee36e0d0917ae

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

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][SQL] SQLPP UDF test cases revisit

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

1. Revisited all SQLPP UDF test cases. Fixed several testcases that were

disabled due to different issues that were no longer exist.

2. Minor fix to SQLPP so we don't need to nest function body into

subquery.

Change-Id: I844883b99dd9ff729ac518c60f6c47941017f24e

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

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>

  1. … 5 more files in changeset.
[NO ISSUE][EXT] Java UDF framework refactoring

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

1. Separated the JObjects and its subtypes.

2. Add JBuiltinTypes so we don't have to create an object to get JType.

3. Dead code removal.

4. Memory usage optimization in JRecord Serialization.

5. Several fixes about incomplete type implementations in Java UDF and

getting JObjects in UDF examples.

Change-Id: I3b648191b73fe4aad4f2a6ba1c2066c872fa16a9

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

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. … 36 more files in changeset.