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

ASF subversion and git services commented on IMPALA-15217:
----------------------------------------------------------

Commit 406557cf492a0ad58a57a899a52f31073ef19522 in impala's branch 
refs/heads/branch-4.5.2 from Michael Smith
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=406557cf4 ]

IMPALA-15217: Authorize URIs for avro.schema.url when loading

Adds authorization checks for 'avro.schema.url' when creating a table or
altering a table to add the property. If an HTTP URL, checks that the
user has permission to read the specified URL. If any other URL, it also
requires that the path exist.

Authorization is now performed before reading from the source at
'avro.schema.url'; schema parsing for remote schemas moves to
CatalogOpExecutor. New end-to-end tests are added to verify that
CatalogOpExecutor catches the same errors and uses matching schema
reconciliation.

Verification and authorization are now also done when changing the file
format of a table to avro if the 'avro.schema.url' property is present.

Updates ColumnDef#toFieldSchemas to lower-case types for uses where the
results are not subsequently lower-cased. Previously all calls were
later lower-cased through CatalogOpExecutor#buildFieldSchemaList.

New tests are added for authorization of 'avro.schema.url'.

Assisted-by: Claude Sonnet 4.6 (VSCode)
Change-Id: Idf9a9b3e95c495f232057515a047802bc963b555
Reviewed-on: http://gerrit.cloudera.org:8080/24769
Reviewed-by: Joe McDonnell <[email protected]>
Tested-by: Michael Smith <[email protected]>


> Test 2
> ------
>
>                 Key: IMPALA-15217
>                 URL: https://issues.apache.org/jira/browse/IMPALA-15217
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Michael Smith
>            Assignee: Michael Smith
>            Priority: Major
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to