Module ImportFrom alias identifier Import alias ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Import alias Import alias identifier FunctionDef arguments args defaults body Return Call AttributeLoad Str attr Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str ListLoad Num Num Num Num Num Num ListLoad Str Str Str Str Str Str ListLoad Num Num Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMult ListLoad NameLoad Num keyword NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword ListLoad Str Str Assert AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword ListLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Str Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Str Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad body Assign NameStore SubscriptLoad NameLoad Index BinOpBitAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Dict Str Str NameLoad NameLoad orelse Assign NameStore ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword ListLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str Str Num Num Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index CompareEq AttributeLoad NameLoad attr Str attr keyword NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str keyword Str Assign NameStore Dict Str Str Str Str For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad body Assign NameStore SubscriptLoad NameLoad Index BinOpBitAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If NameLoad body Assign NameStore Dict Str Str NameLoad NameLoad orelse Assign NameStore ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr keyword Str attr keyword NameLoad Index AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad BinOpAdd Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list
N/A posixpath join pjoin N/A pytest pandas.util.testing assert_frame_equal N/A pandas pd ibis.compat unittest ibis.impala.compat ImpylaError ibis.impala.tests.common ImpalaE2E ENV ibis.tests.util assert_equal N/A ibis N/A ibis.util util _tmp_name N/A N/A N/A N/A N/A N/A N/A tmp_partition_{0} format N/A N/A util guid N/A TestPartitioning N/A ImpalaE2E N/A unittest TestCase N/A setUpClass N/A N/A cls N/A N/A N/A N/A N/A ImpalaE2E setup_e2e cls ENV N/A df N/A N/A pd DataFrame N/A year month value N/A 2009 2009 2009 2010 2010 2010 N/A 1 2 3 1 2 3 N/A 1 2 3 4 5 6 N/A df N/A N/A pd concat N/A N/A df 10 ignore_index True N/A N/A df N/A id N/A N/A df index values N/A N/A cls df df N/A N/A cls db N/A N/A N/A cls con database N/A cls tmp_db N/A N/A cls pd_name N/A _tmp_name N/A N/A N/A N/A cls db create_table N/A cls pd_name df N/A classmethod test_is_partitioned N/A N/A self N/A N/A N/A schema N/A N/A ibis schema N/A N/A foo string N/A year int32 N/A month string N/A name N/A _tmp_name N/A N/A N/A N/A self db create_table name schema schema partition N/A year month N/A N/A N/A N/A N/A self db table name is_partitioned N/A test_create_table_with_partition_column N/A N/A self N/A N/A N/A schema N/A N/A ibis schema N/A N/A year int32 N/A month string N/A day int8 N/A value double N/A name N/A _tmp_name N/A N/A N/A N/A self con create_table name schema schema database N/A self tmp_db partition N/A year month N/A N/A N/A N/A self temp_tables append name N/A ex_schema N/A N/A ibis schema N/A N/A day int8 N/A value double N/A year int32 N/A month string N/A table_schema N/A N/A N/A self con get_schema name database N/A self tmp_db N/A N/A assert_equal table_schema ex_schema N/A partition_schema N/A N/A N/A N/A N/A self db table name partition_schema N/A expected N/A N/A ibis schema N/A N/A year int32 N/A month string N/A N/A assert_equal partition_schema expected N/A test_create_partitioned_separate_schema N/A N/A self N/A N/A N/A schema N/A N/A ibis schema N/A N/A day int8 N/A value double N/A part_schema N/A N/A ibis schema N/A N/A year int32 N/A month string N/A name N/A _tmp_name N/A N/A N/A N/A self con create_table name schema schema partition part_schema N/A N/A N/A N/A self temp_tables append name N/A ex_schema N/A N/A ibis schema N/A N/A day int8 N/A value double N/A year int32 N/A month string N/A table_schema N/A N/A N/A self con get_schema name N/A N/A assert_equal table_schema ex_schema N/A partition_schema N/A N/A N/A N/A N/A self con table name partition_schema N/A N/A assert_equal partition_schema part_schema N/A test_unpartitioned_table_get_schema N/A N/A self N/A N/A N/A tname functional_alltypes N/A N/A N/A self assertRaises ImpylaError N/A N/A N/A N/A N/A N/A N/A self con table tname partition_schema N/A test_insert_select_partitioned_table N/A N/A self N/A N/A N/A N/A N/A pytest skip IMPALA-2750 N/A df N/A self df N/A unpart_t N/A N/A N/A self db table N/A self pd_name N/A part_keys N/A year month N/A part_t N/A N/A self _create_partitioned_table N/A N/A unpart_t schema part_keys N/A unique_keys N/A N/A N/A df N/A part_keys drop_duplicates N/A N/A i N/A year month N/A enumerate N/A N/A unique_keys itertuples index False N/A N/A select_stmt N/A unpart_t N/A N/A N/A N/A unpart_t year year N/A N/A unpart_t month month N/A i N/A N/A part N/A year month year month N/A N/A part N/A year month N/A N/A N/A part_t insert select_stmt partition part N/A N/A N/A self _verify_partitioned_table part_t df unique_keys N/A test_insert_overwrite_partition N/A N/A self N/A N/A N/A N/A test_dynamic_partitioning N/A N/A self N/A N/A N/A N/A test_add_drop_partition N/A N/A self N/A N/A N/A N/A N/A pytest skip HIVE-12613 N/A schema N/A N/A ibis schema N/A N/A foo string N/A year int32 N/A month int16 N/A name N/A _tmp_name N/A N/A N/A N/A self db create_table name schema schema partition N/A year month N/A table N/A N/A N/A self db table name N/A part N/A year month 2007 4 N/A path N/A N/A /tmp/tmp-{0} format N/A N/A util guid N/A N/A N/A table add_partition part location path N/A N/A N/A len N/A N/A table partitions 2 N/A N/A N/A table drop_partition part N/A N/A N/A len N/A N/A table partitions 1 N/A test_set_partition_location N/A N/A self N/A N/A N/A N/A test_load_data_partition N/A N/A self N/A N/A N/A df N/A self df N/A unpart_t N/A N/A N/A self db table N/A self pd_name N/A part_keys N/A year month N/A part_t N/A N/A self _create_partitioned_table N/A N/A unpart_t schema part_keys N/A df N/A N/A N/A df N/A N/A N/A df month 1 reset_index drop True N/A unique_keys N/A N/A N/A df N/A part_keys drop_duplicates N/A hdfs_dir N/A pjoin N/A self tmp_dir load-data-partition N/A df2 N/A N/A df drop N/A year month axis columns N/A csv_props N/A serialization.format field.delim , , N/A N/A i N/A year month N/A enumerate N/A N/A unique_keys itertuples index False N/A N/A chunk N/A df2 N/A N/A N/A N/A df year year N/A N/A df month month N/A chunk_path N/A pjoin hdfs_dir N/A N/A {0}.csv format i N/A N/A N/A N/A self con write_dataframe chunk chunk_path N/A i N/A N/A part N/A year month year month N/A N/A part N/A year month N/A N/A N/A part_t add_partition part N/A N/A N/A part_t alter_partition part format text serde_properties csv_props N/A N/A N/A part_t load_data chunk_path partition part N/A N/A N/A N/A self hdfs rmdir hdfs_dir N/A N/A N/A self _verify_partitioned_table part_t df unique_keys N/A _verify_partitioned_table N/A N/A self part_t df unique_keys N/A N/A N/A result N/A N/A N/A N/A N/A N/A N/A part_t execute sort_index by id reset_index drop True N/A N/A df columns N/A N/A assert_frame_equal result df N/A parts N/A N/A part_t partitions N/A N/A N/A len parts N/A N/A len unique_keys 1 N/A _create_partitioned_table N/A N/A self schema part_keys location N/A None N/A N/A part_name N/A _tmp_name N/A N/A N/A N/A self db create_table part_name schema schema partition part_keys N/A N/A N/A N/A self temp_tables append part_name N/A N/A N/A N/A self db table part_name N/A test_drop_partition N/A N/A self N/A N/A N/A N/A test_repartition_automated N/A N/A self N/A N/A N/A N/A N/A