You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# identity is a shortcut API for adding an IdentityTransform
455
+
update.identity("some_field")
456
+
```
457
+
458
+
### Remove fields
459
+
460
+
Partition fields can also be removed via the `remove_field` API if it no longer makes sense to partition on those fields.
461
+
462
+
```python
463
+
with table.update_spec() as update:some_partition_name
464
+
# Remove the partition field with the name
465
+
update.remove_field("some_partition_name")
466
+
```
467
+
468
+
### Rename fields
469
+
470
+
Partition fields can also be renamed via the `rename_field` API.
471
+
472
+
```python
473
+
with table.update_spec() as update:
474
+
# Rename the partition field with the name bucketed_id to sharded_id
475
+
update.rename_field("bucketed_id", "sharded_id")
476
+
```
477
+
421
478
## Table properties
422
479
423
480
Set and remove properties through the `Transaction` API:
@@ -636,3 +693,56 @@ print(ray_dataset.take(2))
636
693
},
637
694
]
638
695
```
696
+
697
+
### Daft
698
+
699
+
PyIceberg interfaces closely with Daft Dataframes (see also: [Daft integration with Iceberg](https://www.getdaft.io/projects/docs/en/latest/user_guide/integrations/iceberg.html)) which provides a full lazily optimized query engine interface on top of PyIceberg tables.
700
+
701
+
<!-- prettier-ignore-start -->
702
+
703
+
!!! note "Requirements"
704
+
This requires [Daft to be installed](index.md).
705
+
706
+
<!-- prettier-ignore-end -->
707
+
708
+
A table can be read easily into a Daft Dataframe:
709
+
710
+
```python
711
+
df = table.to_daft() # equivalent to `daft.read_iceberg(table)`
- Licensed to the Apache Software Foundation (ASF) under one
8
+
- or more contributor license agreements. See the NOTICE file
9
+
- distributed with this work for additional information
10
+
- regarding copyright ownership. The ASF licenses this file
11
+
- to you under the Apache License, Version 2.0 (the
12
+
- "License"); you may not use this file except in compliance
13
+
- with the License. You may obtain a copy of the License at
14
+
-
15
+
- http://www.apache.org/licenses/LICENSE-2.0
16
+
-
17
+
- Unless required by applicable law or agreed to in writing,
18
+
- software distributed under the License is distributed on an
19
+
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
20
+
- KIND, either express or implied. See the License for the
21
+
- specific language governing permissions and limitations
22
+
- under the License.
23
+
-->
24
+
25
+
# Join the community
26
+
27
+
Apache Iceberg tracks issues in GitHub and prefers to receive contributions as pull requests.
28
+
29
+
Community discussions happen primarily on the [dev mailing list](https://lists.apache.org/list.html?dev@iceberg.apache.org), on [Apache Iceberg Slack workspace](https://join.slack.com/t/apache-iceberg/shared_invite/zt-287g3akar-K9Oe_En5j1UL7Y_Ikpai3A) in the #python channel, and on specific [GitHub issues](https://github.com/apache/iceberg-python/issues).
30
+
31
+
## Iceberg Community Events
32
+
33
+
The PyIceberg community sync is on the last Tuesday of every month. To join, make sure to subscribe to the [iceberg-python-sync Google group](https://groups.google.com/g/iceberg-python-sync).
34
+
35
+
## Community Guidelines
36
+
37
+
### Apache Iceberg Community Guidelines
38
+
39
+
The Apache Iceberg community is built on the principles described in the [Apache Way](https://www.apache.org/theapacheway/index.html)
40
+
and all who engage with the community are expected to be respectful, open, come with the best interests of the community in mind,
41
+
and abide by the Apache Foundation [Code of Conduct](https://www.apache.org/foundation/policies/conduct.html).
42
+
43
+
### Participants with Corporate Interests
44
+
45
+
A wide range of corporate entities have interests that overlap in both features and frameworks related to Iceberg and while we
46
+
encourage engagement and contributions, the community is not a venue for marketing, solicitation, or recruitment.
47
+
48
+
Any vendor who wants to participate in the Apache Iceberg community Slack workspace should create a dedicated vendor channel
49
+
for their organization prefixed by `vendor-`.
50
+
51
+
This space can be used to discuss features and integration with Iceberg related to the vendor offering. This space should not
52
+
be used to promote competing vendor products/services or disparage other vendor offerings. Discussion should be focused on
53
+
questions asked by the community and not to expand/introduce/redirect users to alternate offerings.
54
+
55
+
### Marketing / Solicitation / Recruiting
56
+
57
+
The Apache Iceberg community is a space for everyone to operate free of influence. The development lists, Slack workspace,
58
+
and GitHub should not be used to market products or services. Solicitation or overt promotion should not be performed in common
59
+
channels or through direct messages.
60
+
61
+
Recruitment of community members should not be conducted through direct messages or community channels, but opportunities
62
+
related to contributing to or using Iceberg can be posted to the `#jobs` channel.
63
+
64
+
For questions regarding any of the guidelines above, please contact a PMC member
0 commit comments