Skip to content

Commit

Permalink
Docs: Minor improvements to Spark Procedures (#12190)
Browse files Browse the repository at this point in the history
  • Loading branch information
smaheshwar-pltr authored Feb 7, 2025
1 parent 81c4aee commit bc10617
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/docs/spark-procedures.md
Original file line number Diff line number Diff line change
Expand Up @@ -708,9 +708,9 @@ Add the files from table `db.src_table`, a Hive or Spark table registered in the
`db.tbl`. Only add files that exist within partitions where `part_col_1` is equal to `A`.
```sql
CALL spark_catalog.system.add_files(
table => 'db.tbl',
source_table => 'db.src_tbl',
partition_filter => map('part_col_1', 'A')
table => 'db.tbl',
source_table => 'db.src_tbl',
partition_filter => map('part_col_1', 'A')
);
```

Expand Down Expand Up @@ -854,7 +854,7 @@ CALL spark_catalog.system.create_changelog_view(
table => 'db.tbl',
options => map('start-snapshot-id','1','end-snapshot-id', '2'),
identifier_columns => array('id', 'name')
)
);
```
Once the changelog view is created, you can query the view to see the changes that happened between the snapshots.
Expand Down

0 comments on commit bc10617

Please sign in to comment.