Module Expr Str ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias Import alias Import alias identifier Import alias TryExcept body ImportFrom alias alias alias alias ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad orelse Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body If NameLoad body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad NameStore body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Str With Call NameLoad NameLoad NameStore body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Num Str Expr Call NameLoad Call AttributeLoad NameLoad attr Num Str Expr Call NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad NameStore body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Str With Call NameLoad NameLoad NameStore body Assign NameStore Call NameLoad NameLoad Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num Str Expr Call NameLoad Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Num Str Expr Call NameLoad Call AttributeLoad NameLoad attr Num Str Expr Call NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call NameLoad BoolOpAnd CompareIn Str NameLoad CompareIn Str NameLoad Assign NameStore Lambda arguments args NameParam defaults Call NameLoad SubscriptLoad NameLoad Index Str keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Str Expr Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Dict Str Str Num Str Dict Str Str Str ListLoad Dict Str Str Str Str Dict Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Dict Str Str Num ListLoad Str Dict Str Str Str ListLoad Dict Str Str Str Str Dict Str Str Dict Str Str Str Str Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body If NameLoad body Return Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr With Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr With Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num Num decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr With NameLoad body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword Num With NameLoad body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr body Pass With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str With Call NameLoad AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr NameStore body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str With Call NameLoad NameStore body With Call NameLoad NameLoad Str NameStore body Expr Call NameLoad ListLoad Str Str keyword AttributeLoad NameLoad attr keyword NameLoad With Call NameLoad NameLoad NameStore body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str With Call NameLoad NameStore body With Call NameLoad NameLoad Str NameStore body Expr Call NameLoad ListLoad Str Str Str Str keyword AttributeLoad NameLoad attr keyword NameLoad With Call NameLoad NameLoad NameStore body Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Expr Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str ListLoad Dict Str Str Dict Str Str ListLoad Dict Str Str Dict Str Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body With Call NameLoad AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameStore body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad NameStore body With Call NameLoad NameLoad Str NameStore body Expr Call NameLoad ListLoad Str Str Str Str keyword AttributeLoad NameLoad attr keyword NameLoad With Call NameLoad NameLoad NameStore body Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameStore body Expr Call NameLoad ListLoad Str Str Str Call NameLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr keyword NameLoad With Call NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameStore body Expr Call NameLoad ListLoad Str Str Str Call NameLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr keyword NameLoad With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call NameLoad CompareNotEq NameLoad NameLoad decorator_list decorator_list
N/A N/A Test Avro extension. hdfs.util HdfsError temppath json dumps load loads nose.plugins.skip SkipTest nose.tools eq_ ok_ raises util _IntegrationTest N/A os N/A os.path osp N/A sys N/A N/A hdfs.ext.avro _SeekableReader _infer_schema AvroReader AvroWriter hdfs.ext.avro.__main__ main N/A N/A N/A ImportError N/A N/A SKIP True N/A N/A SKIP False TestSeekableReader N/A object N/A setup N/A N/A self N/A N/A N/A SKIP N/A N/A SkipTest N/A test_normal_read N/A N/A self N/A N/A N/A N/A temppath tpath N/A N/A N/A open tpath w writer N/A N/A N/A N/A writer write abcd N/A N/A open tpath reader N/A N/A sreader N/A _SeekableReader reader N/A N/A eq_ N/A N/A sreader read 3 abc N/A N/A eq_ N/A N/A sreader read 2 d N/A N/A ok_ N/A N/A N/A sreader read 1 N/A test_buffered_read N/A N/A self N/A N/A N/A N/A temppath tpath N/A N/A N/A open tpath w writer N/A N/A N/A N/A writer write abcdefghi N/A N/A open tpath reader N/A N/A sreader N/A _SeekableReader reader 3 N/A N/A eq_ N/A N/A sreader read 1 a N/A N/A eq_ N/A N/A sreader read 3 bcd N/A N/A N/A sreader seek -3 N/A os SEEK_CUR N/A N/A eq_ N/A N/A sreader read 2 bc N/A N/A eq_ N/A N/A sreader read 6 defghi N/A N/A ok_ N/A N/A N/A sreader read 1 N/A N/A TestInferSchema N/A object N/A _assert_schemas_equal N/A N/A self schema1 schema2 N/A N/A N/A N/A ok_ N/A N/A fields schema1 N/A fields schema2 N/A fields N/A N/A N/A schema N/A N/A sorted N/A schema N/A fields key N/A N/A N/A f N/A N/A f N/A name N/A N/A eq_ N/A fields schema1 N/A fields schema2 N/A test_flat_record N/A N/A self N/A N/A N/A N/A N/A self _assert_schemas_equal N/A _infer_schema N/A foo bar 1 hello N/A type fields record N/A N/A type name int foo N/A type name string bar N/A test_array N/A N/A self N/A N/A N/A N/A N/A self _assert_schemas_equal N/A _infer_schema N/A foo bar 1 N/A hello N/A type fields record N/A N/A type name int foo N/A type name N/A type items array string bar N/A N/A _AvroIntegrationTest N/A _IntegrationTest N/A N/A dpath N/A N/A osp join N/A N/A osp dirname __file__ dat N/A schema None N/A records None setup_class N/A N/A cls N/A N/A N/A SKIP N/A N/A N/A N/A N/A N/A super _AvroIntegrationTest cls setup_class N/A N/A open N/A N/A osp join N/A cls dpath weather.avsc reader N/A N/A N/A cls schema N/A loads N/A N/A reader read N/A N/A open N/A N/A osp join N/A cls dpath weather.jsonl reader N/A N/A N/A cls records N/A N/A loads line N/A line reader N/A classmethod _get_data_bytes N/A N/A cls fpath N/A N/A N/A N/A open fpath rb reader N/A N/A N/A N/A reader seek -16 N/A os SEEK_END N/A sync_marker N/A N/A reader read N/A N/A N/A reader seek 0 N/A content N/A N/A reader read N/A sync_pos N/A N/A content find sync_marker N/A N/A content N/A N/A sync_pos 16 -16 N/A classmethod N/A TestRead N/A _AvroIntegrationTest N/A test_read N/A N/A self N/A N/A N/A N/A N/A N/A self client upload weather.avro N/A N/A osp join N/A self dpath weather.avro N/A N/A AvroReader N/A self client weather.avro reader N/A N/A N/A eq_ N/A list reader N/A self records N/A N/A TestWriter N/A _AvroIntegrationTest N/A test_write N/A N/A self N/A N/A N/A writer N/A AvroWriter N/A self client weather.avro schema N/A self schema N/A writer N/A N/A record N/A self records N/A N/A N/A N/A writer write record N/A N/A temppath tpath N/A N/A N/A N/A N/A self client download weather.avro tpath N/A N/A eq_ N/A N/A self _get_data_bytes N/A N/A osp join N/A self dpath weather.avro N/A N/A self _get_data_bytes tpath N/A test_write_in_multiple_blocks N/A N/A self N/A N/A N/A writer N/A AvroWriter N/A self client weather.avro schema N/A self schema sync_interval 1 N/A writer N/A N/A record N/A self records N/A N/A N/A N/A writer write record N/A N/A AvroReader N/A self client weather.avro reader N/A N/A N/A eq_ N/A list reader N/A self records N/A test_write_empty N/A N/A self N/A N/A N/A N/A AvroWriter N/A self client empty.avro schema N/A self schema N/A N/A N/A N/A AvroReader N/A self client empty.avro reader N/A N/A N/A eq_ N/A reader schema N/A self schema N/A N/A eq_ N/A list reader N/A N/A test_write_overwrite_error N/A N/A self N/A N/A N/A N/A N/A N/A self client makedirs weather.avro N/A N/A AvroWriter N/A self client weather.avro schema N/A self schema writer N/A N/A record N/A self records N/A N/A N/A N/A writer write record N/A N/A raises HdfsError test_infer_schema N/A N/A self N/A N/A N/A N/A AvroWriter N/A self client weather.avro writer N/A N/A record N/A self records N/A N/A N/A N/A writer write record N/A N/A AvroReader N/A self client weather.avro reader N/A N/A N/A eq_ N/A list reader N/A self records N/A N/A TestMain N/A _AvroIntegrationTest N/A test_schema N/A N/A self N/A N/A N/A N/A N/A N/A self client upload weather.avro N/A N/A osp join N/A self dpath weather.avro N/A N/A temppath tpath N/A N/A N/A open tpath w writer N/A N/A N/A main N/A schema weather.avro client N/A self client stdout writer N/A N/A open tpath reader N/A N/A schema N/A load reader N/A N/A eq_ N/A self schema schema N/A test_read N/A N/A self N/A N/A N/A N/A N/A N/A self client upload weather.avro N/A N/A osp join N/A self dpath weather.avro N/A N/A temppath tpath N/A N/A N/A open tpath w writer N/A N/A N/A main N/A read weather.avro --num 2 client N/A self client stdout writer N/A N/A open tpath reader N/A N/A records N/A N/A loads line N/A line reader N/A N/A eq_ records N/A N/A self records N/A 2 N/A test_read_part_file N/A N/A self N/A N/A N/A data N/A part-m-00000.avro part-m-00001.avro N/A N/A name jane N/A name bob N/A N/A name john N/A name liz N/A N/A fname records N/A N/A data items N/A N/A N/A AvroWriter N/A self client N/A data.avro/%s N/A fname writer N/A N/A record records N/A N/A N/A N/A writer write record N/A N/A temppath tpath N/A N/A N/A open tpath w writer N/A N/A N/A main N/A read data.avro --parts 1, client N/A self client stdout writer N/A N/A open tpath reader N/A N/A records N/A N/A loads line N/A line reader N/A N/A eq_ records N/A data N/A part-m-00001.avro N/A test_write N/A N/A self N/A N/A N/A N/A open N/A N/A osp join N/A self dpath weather.jsonl reader N/A N/A N/A main N/A write weather.avro --schema N/A dumps N/A self schema --codec null client N/A self client stdin reader N/A N/A temppath tpath N/A N/A N/A N/A N/A self client download weather.avro tpath N/A N/A eq_ N/A N/A self _get_data_bytes tpath N/A N/A self _get_data_bytes N/A N/A osp join N/A self dpath weather.avro N/A test_write_codec N/A N/A self N/A N/A N/A N/A open N/A N/A osp join N/A self dpath weather.jsonl reader N/A N/A N/A main N/A write weather.avro --schema N/A dumps N/A self schema --codec deflate client N/A self client stdin reader N/A N/A AvroReader N/A self client weather.avro reader N/A N/A records N/A list reader N/A N/A eq_ records N/A self records N/A compressed_size N/A N/A N/A N/A self client content weather.avro N/A length N/A uncompressed_size N/A N/A osp getsize N/A N/A osp join N/A self dpath weather.avro N/A N/A ok_ N/A compressed_size uncompressed_size N/A N/A