+
    NV-j%  ã                   ó    € ^ RI Ht ^ RIHt ^ RIHt ^ RIHt ]! R4      RRRRRR	RR
RRRRRRR/R R lll4       tRRRRRRRRR/R R lllt	R# )é    )ÚAny)Úimport_optional_dependency)Ú
set_module)Ú	DataFrameÚpandasNÚcatalog_propertiesÚcolumnsÚ
row_filterÚcase_sensitiveTÚsnapshot_idÚlimitÚscan_propertiesc                óL  € V ^8„  d   QhR\         R\         R,          R\        \         \        3,          R,          R\        \         ,          R,          R\         R,          R\        R\
        R,          R	\
        R,          R
\        \         \        3,          R,          R\        /
# )é   Útable_identifierÚcatalog_nameNr   r	   r
   r   r   r   r   Úreturn)ÚstrÚdictr   ÚlistÚboolÚintr   )Úformats   "Úb/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/pandas/io/iceberg.pyÚ__annotate__r      s«   € ÷ Wñ WÜðWä˜•*ðWô œS¤#˜X�¨Õ-ð	Wô
 ”#�Y˜ÕðWô �d•
ðWô ðWô �t•ðWô ��:ðWô œ#œs˜(•^ dÕ*ðWô ñWó    c          	     ó(  € \        R4      p	\        R4      p
Vf   / pV	P                  ! V3/ VB pVP                  V 4      pVf   V
P                  4       pVf   RpM\	        V4      pVf   / pVP                  VVVVVVR7      pVP                  4       # )a  
Read an Apache Iceberg table into a pandas DataFrame.

.. versionadded:: 3.0.0

.. warning::

   read_iceberg is experimental and may change without warning.

Parameters
----------
table_identifier : str
    Table identifier.
catalog_name : str, optional
    The name of the catalog.
catalog_properties : dict of {str: str}, optional
    The properties that are used next to the catalog configuration.
columns : list of str, optional
    A list of strings representing the column names to return in the output
    dataframe.
row_filter : str, optional
    A string that describes the desired rows.
case_sensitive : bool, default True
    If True column matching is case sensitive.
snapshot_id : int, optional
    Snapshot ID to time travel to. By default the table will be scanned as of the
    current snapshot ID.
limit : int, optional
    An integer representing the number of rows to return in the scan result.
    By default all matching rows will be fetched.
scan_properties : dict of {str: obj}, optional
    Additional Table properties as a dictionary of string key value pairs to use
    for this scan.

Returns
-------
DataFrame
    DataFrame based on the Iceberg table.

See Also
--------
read_parquet : Read a Parquet file.

Examples
--------
>>> df = pd.read_iceberg(
...     table_identifier="my_table",
...     catalog_name="my_catalog",
...     catalog_properties={"s3.secret-access-key": "my-secret"},
...     row_filter="trip_distance >= 10.0",
...     columns=["VendorID", "tpep_pickup_datetime"],
... )  # doctest: +SKIP
úpyiceberg.catalogzpyiceberg.expressions)r
   Úselected_fieldsr   r   Úoptionsr   )Ú*)r   Úload_catalogÚ
load_tableÚ
AlwaysTrueÚtupleÚscanÚ	to_pandas)r   r   r   r	   r
   r   r   r   r   Úpyiceberg_catalogÚpyiceberg_expressionsÚcatalogÚtabler   Úresults   &&$$$$$$$      r   Úread_icebergr-      s¸   € ôD 3Ð3FÓGÐÜ6Ð7NÓOÐØÒ!ØÐØ×,Ò,¨\ÑPÐ=OÑP€GØ×ÑÐ/Ó0€EØÒØ*×5Ñ5Ó7ˆ
Ø‚Ø ‰ä ›.ˆØÒØˆØ�Z‰ZØØ'Ø%ØØØð ó €Fð ×ÑÓÐr   ÚlocationÚappendFÚsnapshot_propertiesc                óì   € V ^8„  d   QhR\         R\        R\        R,          R\        \        \        3,          R,          R\        R,          R\        R\        \        \        3,          R,          R	R/# )
r   Údfr   r   Nr   r.   r/   r0   r   )r   r   r   r   r   )r   s   "r   r   r   f   s„   € ÷ 5Nñ 5NÜð5Näð5Nô ˜•*ð5Nô
 œS¤#˜X�¨Õ-ð5Nô �D�jð5Nô ð5Nô œc¤3˜h�¨$Õ.ð5Nð 
ñ5Nr   c               ó>  € \        R4      p\        R4      pVf   / pVP                  ! V3/ VB p	VP                  P                  V 4      p
V	P	                  VV
P
                  VR7      pVf   / pV'       d   VP                  W¦R7       R# VP                  W¦R7       R# )aÄ  
Write a DataFrame to an Apache Iceberg table.

.. versionadded:: 3.0.0

Parameters
----------
table_identifier : str
    Table identifier.
catalog_name : str, optional
    The name of the catalog.
catalog_properties : dict of {str: str}, optional
    The properties that are used next to the catalog configuration.
location : str, optional
    Location for the table.
append : bool, default False
    If ``True``, append data to the table, instead of replacing the content.
snapshot_properties : dict of {str: str}, optional
    Custom properties to be added to the snapshot summary

See Also
--------
read_iceberg : Read an Apache Iceberg table.
DataFrame.to_parquet : Write a DataFrame in Parquet format.
Úpyarrowr   N)Ú
identifierÚschemar.   )r0   )r   r"   ÚTableÚfrom_pandasÚcreate_table_if_not_existsr6   r/   Ú	overwrite)r2   r   r   r   r.   r/   r0   Úpar(   r*   Úarrow_tabler+   s   &&&$$$$     r   Ú
to_icebergr=   f   s¢   € ôF 
$ IÓ	.€BÜ2Ð3FÓGÐØÒ!ØÐØ×,Ò,¨\ÑPÐ=OÑP€GØ—(‘(×&Ñ& rÓ*€KØ×.Ñ.Ø#Ø×!Ñ!Øð /ó €Eð Ò"Ø ÐßØ�‰�[ˆÖJà�‰˜ˆÖMr   )N)
Útypingr   Úpandas.compat._optionalr   Úpandas.util._decoratorsr   r   r   r-   r=   © r   r   Ú<module>rB      s¶   ðõõ ?Ý .å ñ ˆHÓñWð 15ð	Wð
 !%ðWð "ðWð  ðWð #ðWð ðWð .2÷Wó ðWñt5Nð
 15ð5Nð  ð5Nð ð5Nð 26÷5Nò 5Nr   