Skip to content

Commit 7c77433

Browse files
authored
stale_files + rename to mv_dependencies (#6)
1 parent 14a3518 commit 7c77433

File tree

3 files changed

+194
-22
lines changed

3 files changed

+194
-22
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This is a typical pattern with DataFusion, as files in object storage usually ar
1515

1616
Here we walk through a hypothetical example of setting up a materialized view, to illustrate
1717
what this library offers. The core of the incremental view maintenance implementation is a UDTF (User-Defined Table Function),
18-
called `file_dependencies`, that outputs a build graph for a materialized view. This gives users the information they need to determine
18+
called `mv_dependencies`, that outputs a build graph for a materialized view. This gives users the information they need to determine
1919
when partitions of the materialized view need to be recomputed.
2020

2121
```sql
@@ -39,8 +39,8 @@ CREATE MATERIALIZED VIEW m1 AS SELECT
3939
PARTITIONED BY (year)
4040
LOCATION 's3://m1/';
4141

42-
-- Show the dependency graph for m1 using the file_dependencies UDTF
43-
SELECT * FROM file_dependencies('m1');
42+
-- Show the dependency graph for m1 using the mv_dependencies UDTF
43+
SELECT * FROM mv_dependencies('m1');
4444

4545
+--------------------+----------------------+---------------------+-------------------+--------------------------------------+----------------------+
4646
| target | source_table_catalog | source_table_schema | source_table_name | source_uri | source_last_modified |

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
/// otherwise the tables may not be detected by the incremental view maintenance code,
3737
/// including components such as [`FileMetadata`](materialized::file_metadata::FileMetadata),
3838
/// [`RowMetadataRegistry`](materialized::row_metadata::RowMetadataRegistry), or the
39-
/// [`file_dependencies`](materialized::dependencies::file_dependencies) UDTF.
39+
/// [`mv_dependencies`](materialized::dependencies::mv_dependencies) UDTF.
4040
///
4141
/// By default, `ListingTableLike` is implemented for [`ListingTable`](datafusion::datasource::listing::ListingTable),
4242
pub mod materialized;

0 commit comments

Comments
 (0)