ibis.impala.api.ImpalaClient.avro_file

ImpalaClient.avro_file(self, hdfs_dir, avro_schema, name=None, database=None, external=True, persist=False)

Create a (possibly temporary) table to read a collection of Avro data.

Parameters
hdfs_dirstring

Absolute HDFS path to directory containing avro files

avro_schemadict

The Avro schema for the data as a Python dict

namestring, default None
databasestring, default None
externalboolean, default True
persistboolean, default False
Returns
avro_tableImpalaTable