Skip to content

Add structured file-backed dataset sources - #338

Open
isaac-dasari wants to merge 2 commits into
apache:mainfrom
isaac-dasari:issue-104-structured-dataset-source
Open

Add structured file-backed dataset sources#338
isaac-dasari wants to merge 2 commits into
apache:mainfrom
isaac-dasari:issue-104-structured-dataset-source

Conversation

@isaac-dasari

Copy link
Copy Markdown

Summary

This draft adds a backward-compatible structured representation for file-backed datasets in Dataset.source while preserving all existing string source forms.

Signed-off-by: isaac-dasari <74317395+isaac-dasari@users.noreply.github.com>
@jbonofre

Copy link
Copy Markdown
Member

@isaac-dasari would it possible to fix the conflicts? Thanks!

@jbonofre
jbonofre self-requested a review August 28, 2026 15:02
Signed-off-by: isaac-dasari <74317395+isaac-dasari@users.noreply.github.com>
@isaac-dasari

Copy link
Copy Markdown
Author

@jbonofre Thanks the conflicts with current main are resolved and the branch is updated. I also adapted the changes to the completed OSI → Ossie rename and reran the affected Python and Java test suites locally. The PR is mergeable again; the fork-triggered GitHub Actions runs are now pending approval.

@jbonofre

Copy link
Copy Markdown
Member

@isaac-dasari awesome! Thanks! I will do a new pass.

Comment thread core-spec/spec.md
Comment on lines +143 to +150
File-backed datasets may use an explicit structured form. `kind` is the discriminator; the initial portable file form requires a physical format and at least one location:

```yaml
source:
kind: file
format: parquet
locations:
- s3://analytics-data/orders/*.parquet

@khush-bhatia khush-bhatia Sep 2, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great enhancement to the spec. But how about we generallize this such that it can support any catalog type (Hive, Polaris etc.. ) and then format can be parquet , table or sql query

Examples:

  kind: file
  format: parquet
  locations:
    - s3://analytics-data/orders/*.parquet
  kind: HIVE_CATALOG
  format: table
  identifier: db.schema.table
  kind: SNOWFLAKE_CATALOG
  format: SQL_QUERY
  query: 'select * from db.schema.table where col1 >10'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants