You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/09/13 03:02:00 UTC
[jira] [Commented] (ASTERIXDB-2633) Error matching patterns that
follow the LIKE syntax
[ https://issues.apache.org/jira/browse/ASTERIXDB-2633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16928982#comment-16928982 ]
ASF subversion and git services commented on ASTERIXDB-2633:
------------------------------------------------------------
Commit 82b067cf0ac6c122802006e2220504e0176cdbc2 in asterixdb's branch refs/heads/master from Till Westmann
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=82b067c ]
[ASTERIXDB-2633][FUN] Fix LIKE to regex translation
- user model changes: no
- storage format changes: no
- interface changes: no
Change-Id: I6138f62fdcd60bcc641f662d1fdb05b46dafbebf
Reviewed-on: https://asterix-gerrit.ics.uci.edu/3558
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mh...@apache.org>
> Error matching patterns that follow the LIKE syntax
> ---------------------------------------------------
>
> Key: ASTERIXDB-2633
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2633
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: FUN - Functions
> Affects Versions: 0.9.4.1
> Reporter: Till
> Assignee: Till
> Priority: Major
> Fix For: 0.9.6
>
>
> {noformat}'+0300' like "+03%"{noformat} fails with {noformat}
> ASX1001: Syntax error: In line 1 >>'+0300' like "+03%"<< Encountered at column 19. [CompilationException]
> {noformat} and
> {noformat}'?0300' like "?03%"{noformat} fails with {noformat}
> ASX1001: Syntax error: In line 1 >>'?0300' like "?03%"<< Encountered at column 19. [CompilationException]
> {noformat} as the characters {{'+'}} and {{'?'}} are not escaped when translating the LIKE syntax to Java's regex syntax.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)