syun64 commented on issue #278: URL: https://github.com/apache/iceberg-python/issues/278#issuecomment-1910272795
> @syun64 Yes that sounds like a reasonable proposal to me. On thing to mention. We would also like to use PyIceberg without Arrow, and we can do this by making the type annotation lazy: > > ``` > def create_table( > self, > identifier: Union[str, Identifier], > schema: Union[Schema, "pa.Schema"], > location: Optional[str] = None, > partition_spec: PartitionSpec = UNPARTITIONED_PARTITION_SPEC, > sort_order: SortOrder = UNSORTED_SORT_ORDER, > properties: Properties = EMPTY_DICT, > ) -> Table: > ``` Oh! That's very neat. Thank you for the suggestion :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org