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

ASF subversion and git services commented on ASTERIXDB-3285:
------------------------------------------------------------

Commit 08b9cdb0cf6ef9eaaa3ee44fff08c4c2022b8ef7 in asterixdb's branch 
refs/heads/master from Peeyush Gupta
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=08b9cdb0cf ]

[MULTIPLE ISSUES][COMP] Multiple array index fixes

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

Details:
Fixes ASTERIXDB-3284 and ASTERIXDB-3285.
In the upsert pipeline, warning is returned instead of an error
when the indexed field is not an array. Elements of the
array having type different then the indexed type are not inserted
in the index. For the bulk load pipeline, on type mismatch the
index creation fails.

Change-Id: Icb7dd9ec54b4cf77963172adc93ed93704a2455d
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17987
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Peeyush Gupta <[email protected]>
Reviewed-by: Ali Alsuliman <[email protected]>


> ingestion keeps failing due to array indexes types mismatch
> -----------------------------------------------------------
>
>                 Key: ASTERIXDB-3285
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3285
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Murtadha Makki Al Hubail
>            Assignee: Glenn Justo Galvizo
>            Priority: Critical
>              Labels: triaged
>
> When we have array indexes during ingestion, ingestion keeps failing on the 
> following:
> 1) The indexed field is not an array
> 2) The actual value type of the indexed field is different than the defined 
> type in the index.
> In both of these cases, we currently throw exceptions when maintaining the 
> array index and as a result our ingestion keeps failing. We should ignore 
> process such tuples and continue processing the ingestion pipeline.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to