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

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

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

[ASTERIXDB-3117][EXT] Allow specifying a subpath for EXTERNAL datasets queries

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

Details:
This patch is to allow users to specify a subpath in queries scanning
external data sources like S3.

- add "subpath" hint to allow specifying a subpath to be used in
  conjunction with the "definition" of external datasets.
- capture the "subpath" hint for each term in the FROM clause.
- pass the hint to the properties of IDataSource and expose them.
- Op Isomorphism: compare IDataSource properties only for EXTERNAL datasets.

Change-Id: I3d1ec61fd8aa3275260c1aed6d00fa3c7b408351
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17395
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Ali Alsuliman <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>


> Unable to specify external collection subpath after creation
> ------------------------------------------------------------
>
>                 Key: ASTERIXDB-3117
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3117
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: EXT - External data
>    Affects Versions: 0.9.7
>            Reporter: Ali Alsuliman
>            Assignee: Ali Alsuliman
>            Priority: Major
>             Fix For: 0.9.7
>
>
> When creating an external dataset, the user has an option to specify a fixed 
> prefix within the external storage bucket. However, after the creation, the 
> only way for the user to specify a subpath within the prefix is to drop and 
> recreate the dataset which is not practical. We should add a simple hint that 
> can accept such subpath per external dataset in the query.



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

Reply via email to