[jira] [Commented] (ASTERIXDB-2689) Make functions return NULL on invalid arguments

2021-02-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ASTERIXDB-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17278153#comment-17278153
 ] 

ASF subversion and git services commented on ASTERIXDB-2689:


Commit 4f3440d5af29cc6966cf9bd2dc46c74c3050a355 in asterixdb's branch 
refs/heads/master from Ali Alsuliman
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=4f3440d ]

[ASTERIXDB-2689][FUN] Add test for secondary index with nested field access

Change-Id: I26ed80aa05771c175878fcddbaf1c5e86317566a
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/9785
Integration-Tests: Jenkins 
Tested-by: Jenkins 
Reviewed-by: Ali Alsuliman 
Reviewed-by: Dmitry Lychagin 


> Make functions return NULL on invalid arguments
> ---
>
> Key: ASTERIXDB-2689
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2689
> Project: Apache AsterixDB
>  Issue Type: Task
>  Components: FUN - Functions
>Affects Versions: 0.9.4.1
>Reporter: Ali Alsuliman
>Assignee: Ali Alsuliman
>Priority: Major
> Fix For: 0.9.7
>
>
> Functions should return NULL instead of raising errors on invalid arguments 
> (e.g. invalid types, invalid values, etc)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ASTERIXDB-2689) Make functions return NULL on invalid arguments

2021-02-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ASTERIXDB-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17278152#comment-17278152
 ] 

ASF subversion and git services commented on ASTERIXDB-2689:


Commit 50f6830d965a7bd9d0850d108236ae68905892bc in asterixdb's branch 
refs/heads/master from Ali Alsuliman
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=50f6830 ]

[ASTERIXDB-2689][FUN] Make field-access-nested return MISSING on wrong args

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
Make field-access-nested return MISSING on wrong args

Change-Id: I59ba234e352408e1017e879443a22d00d3c2262a
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/9747
Integration-Tests: Jenkins 
Tested-by: Jenkins 
Reviewed-by: Ali Alsuliman 
Reviewed-by: Dmitry Lychagin 


> Make functions return NULL on invalid arguments
> ---
>
> Key: ASTERIXDB-2689
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2689
> Project: Apache AsterixDB
>  Issue Type: Task
>  Components: FUN - Functions
>Affects Versions: 0.9.4.1
>Reporter: Ali Alsuliman
>Assignee: Ali Alsuliman
>Priority: Major
> Fix For: 0.9.7
>
>
> Functions should return NULL instead of raising errors on invalid arguments 
> (e.g. invalid types, invalid values, etc)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ASTERIXDB-2689) Make functions return NULL on invalid arguments

2020-05-08 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ASTERIXDB-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17102579#comment-17102579
 ] 

ASF subversion and git services commented on ASTERIXDB-2689:


Commit 0be8b38858530e40398b69f1cf39a5cba582f443 in asterixdb's branch 
refs/heads/master from Hussain Towaileb
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=0be8b38 ]

[ASTERIXDB-2689][FUN] Agg Avg: skip and warn for invalid values

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Currently, the aggregate avg function throws an exception
  when an invalid (non-numeric but not null or missing) value
  is encountered, this patch changes the behavior to skip
  the invalid value (treat it as null) and issue a warning.
- Added test cases for serializable aggregate avg (when
  using hash group by).

Change-Id: I32037e0f178a84555ac868547eed5762e980f010
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/5183
Integration-Tests: Jenkins 
Tested-by: Jenkins 
Reviewed-by: Hussain Towaileb 
Reviewed-by: Dmitry Lychagin 


> Make functions return NULL on invalid arguments
> ---
>
> Key: ASTERIXDB-2689
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2689
> Project: Apache AsterixDB
>  Issue Type: Task
>  Components: FUN - Functions
>Affects Versions: 0.9.4.1
>Reporter: Ali Alsuliman
>Assignee: Ali Alsuliman
>Priority: Major
> Fix For: 0.9.5
>
>
> Functions should return NULL instead of raising errors on invalid arguments 
> (e.g. invalid types, invalid values, etc)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ASTERIXDB-2689) Make functions return NULL on invalid arguments

2020-01-17 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ASTERIXDB-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17018417#comment-17018417
 ] 

ASF subversion and git services commented on ASTERIXDB-2689:


Commit b64eb1ecd38db1b3abab659baebfd07f624d6e12 in asterixdb's branch 
refs/heads/master from Ali Alsuliman
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=b64eb1e ]

[ASTERIXDB-2689][FUN] Make arithmetic functions return NULL on invalid arguments

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
Make arithmetic functions return NULL on invalid arguments:
Functions are for: +, -, *, /, DIV, %, ^

Change-Id: I6a822e59c91d06506505597927fab93e403385d8
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/4723
Contrib: Jenkins 
Tested-by: Jenkins 
Integration-Tests: Jenkins 
Reviewed-by: Ali Alsuliman 
Reviewed-by: Dmitry Lychagin 


> Make functions return NULL on invalid arguments
> ---
>
> Key: ASTERIXDB-2689
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2689
> Project: Apache AsterixDB
>  Issue Type: Task
>  Components: FUN - Functions
>Affects Versions: 0.9.4.1
>Reporter: Ali Alsuliman
>Assignee: Ali Alsuliman
>Priority: Major
> Fix For: 0.9.5
>
>
> Functions should return NULL instead of raising errors on invalid arguments 
> (e.g. invalid types, invalid values, etc)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ASTERIXDB-2689) Make functions return NULL on invalid arguments

2020-01-15 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ASTERIXDB-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17016362#comment-17016362
 ] 

ASF subversion and git services commented on ASTERIXDB-2689:


Commit 8c164cbbd791d96da88f0ac281fd13ad9d280de7 in asterixdb's branch 
refs/heads/master from Ali Alsuliman
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=8c164cb ]

[ASTERIXDB-2689][FUN] Make numeric functions return NULL on invalid arguments p2

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
Make numeric functions return NULL on invalid arguments.
round(num), round(num, num), trunc(num, num), round-half-to-even(num, num).

- added warning to round() function
- extracted evaluators of trunc() and round-half-to-even() to a common evaluator
- renamed checkWarnOrSetInteger() to setInteger()

Change-Id: I1ccef0740d64cce3ada8b60d3a699748e7ef8776
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/4704
Contrib: Jenkins 
Tested-by: Jenkins 
Integration-Tests: Jenkins 
Reviewed-by: Ali Alsuliman 
Reviewed-by: Dmitry Lychagin 


> Make functions return NULL on invalid arguments
> ---
>
> Key: ASTERIXDB-2689
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2689
> Project: Apache AsterixDB
>  Issue Type: Task
>  Components: FUN - Functions
>Affects Versions: 0.9.4.1
>Reporter: Ali Alsuliman
>Assignee: Ali Alsuliman
>Priority: Major
> Fix For: 0.9.5
>
>
> Functions should return NULL instead of raising errors on invalid arguments 
> (e.g. invalid types, invalid values, etc)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ASTERIXDB-2689) Make functions return NULL on invalid arguments

2020-01-14 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ASTERIXDB-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17015286#comment-17015286
 ] 

ASF subversion and git services commented on ASTERIXDB-2689:


Commit 54b31ada42911bd799db66e8c57ed9c209de1d30 in asterixdb's branch 
refs/heads/master from Ali Alsuliman
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=54b31ad ]

[ASTERIXDB-2689][FUN] Make numeric functions return NULL on invalid arguments

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
Make numeric functions return NULL on invalid arguments.

Change-Id: Id26229064058c3ecbaa54ece3001d3b8980f8d8b
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/4583
Contrib: Jenkins 
Tested-by: Jenkins 
Integration-Tests: Jenkins 
Reviewed-by: Ali Alsuliman 
Reviewed-by: Dmitry Lychagin 


> Make functions return NULL on invalid arguments
> ---
>
> Key: ASTERIXDB-2689
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2689
> Project: Apache AsterixDB
>  Issue Type: Task
>  Components: FUN - Functions
>Affects Versions: 0.9.4.1
>Reporter: Ali Alsuliman
>Assignee: Ali Alsuliman
>Priority: Major
> Fix For: 0.9.5
>
>
> Functions should return NULL instead of raising errors on invalid arguments 
> (e.g. invalid types, invalid values, etc)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)