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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file getallcolumnname-0.2.tar.gz.
File metadata
- Download URL: getallcolumnname-0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fe75d75a176a543018df7a2e1f2184c36d5dc50317d546c0e748aa42da53266
|
|
| MD5 |
5196c5b11b846c17373de2982bb2a1df
|
|
| BLAKE2b-256 |
393c88552be92c9f00a5e7e742fda92a1c725668e1ad4017de6b7b11d822cc02
|
File details
Details for the file getallcolumnname-0.2-py3-none-any.whl.
File metadata
- Download URL: getallcolumnname-0.2-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
460da8b3b4e7cdd824526cac1a91fca57ceaac4ec09a5a9268959b32b2d29f7f
|
|
| MD5 |
e555fe54a08c19e374e6a3fc9421b791
|
|
| BLAKE2b-256 |
9642fbfc5c494b9a9484adf336ec6906dd5bd7f73ee2e039a0f78dcffe89e17e
|