[
https://issues.apache.org/jira/browse/IMPALA-14552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Smith resolved IMPALA-14552.
------------------------------------
Fix Version/s: Impala 5.0.0
Resolution: Fixed
> test_show_create_table should be more strict with TBLPROPERTIES contents
> ------------------------------------------------------------------------
>
> Key: IMPALA-14552
> URL: https://issues.apache.org/jira/browse/IMPALA-14552
> Project: IMPALA
> Issue Type: Improvement
> Components: Test
> Reporter: Zoltán Borók-Nagy
> Assignee: Zoltán Borók-Nagy
> Priority: Major
> Fix For: Impala 5.0.0
>
>
> Currently we use this regex to parse the contents of TBLPROPERTIES:
> {noformat}
> kv_regex = "'([^\']+)'\\s*=\\s*'([^\']+)'"
> kv_results = dict(re.findall(kv_regex, map_match.group(1))){noformat}
> This allows strings like:
> {noformat}
> 'X'='Y'='Z'
> 'X'='Z'$'A'='B'{noformat}
> This means it's easy to write strings in .test files that are not valid SQL.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)