getallcolumns
Project description
Name of the package: getallcolumnname
Version:0.2
Description :
For a give catalog it will fetch the below :
databases
tables
columns
================
Installation
------------
You can install this package using pip:
```sh
pip install getallcolumnname==0.2
Restart kernel:
From databricks:
==================
dbutils.library.restartPython()
Usage
-----
Here is an example of how to use the functions in this package:
```python
import getallcolumnname
```python
## List of catalogs/hive_metastore from which you want to fetch all columns:
Lets says name of the catalog is : "catalog_test"
LIST_OF_CATALOG = ["catalog_test"]
For hive_metastore :
LIST_OF_CATALOG = ["hive_metastore"]
num_databases, num_tables, column_counts_df, df_all_columns = getallcolumnname.get_catalogs_and_databases(LIST_OF_CATALOG)
Display all the catalogs/hive_metastore provided, its databases, its corresponding tables and its corresponding columns
display(df_all_columns)
END OF README.TXT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
getallcolumnname-0.2.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for getallcolumnname-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 460da8b3b4e7cdd824526cac1a91fca57ceaac4ec09a5a9268959b32b2d29f7f |
|
MD5 | e555fe54a08c19e374e6a3fc9421b791 |
|
BLAKE2b-256 | 9642fbfc5c494b9a9484adf336ec6906dd5bd7f73ee2e039a0f78dcffe89e17e |