MCPcopy Create free account
hub / github.com/apache/arrow / create_sample_table

Function create_sample_table

python/pyarrow/tests/test_dataset_encryption.py:58–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56
57
58def create_sample_table():
59 return pa.table(
60 {
61 "year": [2020, 2022, 2021, 2022, 2019, 2021],
62 "n_legs": [2, 2, 4, 4, 5, 100],
63 "animal": [
64 "Flamingo",
65 "Parrot",
66 "Dog",
67 "Horse",
68 "Brittle stars",
69 "Centipede",
70 ],
71 }
72 )
73
74
75def create_encryption_config(footer_key=FOOTER_KEY_NAME, column_keys=COLUMN_KEYS):

Calls

no outgoing calls

Tested by

no test coverage detected