Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ccmao1130
Copy link
Contributor

@ccmao1130 ccmao1130 commented Apr 21, 2025

We did a major refresh of Daft docs on our end, so want to make sure the links are also updated on your end!

One thing to note:
On our docs, we renamed the below fields, let me know if it makes sense to update these as well:

Iceberg Daft
STRUCT<[field_name: field_type,]> daft.DataType.struct(fields)
LIST<element_type> daft.DataType.list(element_type)
MAP<key_type, value_type> daft.DataType.map(key_type, value_type)

Here's our page for reference: https://www.getdaft.io/projects/docs/en/latest/integrations/iceberg/

We did a major refresh of Daft docs on our end, so want to make sure the links are also updated on your end!

One thing to note:
On our docs, we renamed the below fields, let me know if it makes sense to update these as well:
| Iceberg | Daft |
| struct(**fields) | daft.DataType.struct(**fields) |
| list(child_type) | daft.DataType.list(child_type) |
| map(K, V) | daft.DataType.map(K, V) |
@github-actions github-actions bot added the docs label Apr 21, 2025
| `struct(**fields)` | [`daft.DataType.struct(**fields)`](https://www.getdaft.io/projects/docs/en/latest/api_docs/datatype.html#daft.DataType.struct) |
| `list(child_type)` | [`daft.DataType.list(child_type)`](https://www.getdaft.io/projects/docs/en/latest/api_docs/datatype.html#daft.DataType.list) |
| `map(K, V)` | [`daft.DataType.map(K, V)`](https://www.getdaft.io/projects/docs/en/latest/api_docs/datatype.html#daft.DataType.map) |
| `struct(**fields)` | [`daft.DataType.struct(**fields)`](https://www.getdaft.io/projects/docs/en/latest/api/datatypes/#daft.datatype.DataType.struct) |
Copy link
Contributor

Choose a reason for hiding this comment

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

Why does fields contain leading **? Is it for Python or Rust syntax?

Copy link
Member

Choose a reason for hiding this comment

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

@RussellSpitzer RussellSpitzer merged commit 4b131c5 into apache:main Apr 22, 2025
2 checks passed
@RussellSpitzer
Copy link
Member

Thanks @ccmao1130 for the PR and @ebyhr for reviewing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants