Metadata-Version: 2.1
Name: intake-hive
Version: 0.1.0
Summary: Intake Hive DataSource Plugin.
Author: Zillow AI Platform
Requires-Python: >=3.6
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Provides-Extra: doc
Requires-Dist: intake (>=0.5.3)
Requires-Dist: pyspark (==2.3.0)
Description-Content-Type: text/x-rst

.. image:: https://travis-ci.org/zillow/intake-hive.svg?branch=master
    :target: https://travis-ci.org/zillow/intake-hive

.. image:: https://coveralls.io/repos/github/zillow/intake-hive/badge.svg?branch=master
    :target: https://coveralls.io/github/zillow/intake-hive?branch=master


Welcome to the Intake Hive plugin
==================================================
This `Intake <https://intake.readthedocs.io/en/latest/quickstart.html>`_ plugin 
:

Example where the Hive table is user_events_hive partitioned by userid:

.. code-block:: yaml

    sources:
      user_events_hive:
        driver: hive
        args:
          urlpath: 'user_events_yaml_catalog?userid={{userid}}'



.. code-block:: python

  import pandas as pd
  import intake

  catalog = intake.open_catalog(catalog_path)

  # Reads partition userid=42
  pandas_df: pd.DataFrame = catalog.entity.user.user_events_partitioned(userid="42").read()

