package
Version:
v0.10.2
Opens a new window with list of versions in this module.
Published: Jan 19, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
presto
Usage
source:
name: presto
config:
connection_url: http://user:pass@localhost:8080
exclude_catalog: memory,system
Key |
Value |
Example |
Description |
|
connection_url |
string |
http://user:pass@localhost:8080 |
URL to access the presto server |
required |
exclude_catalog |
string |
memory,system |
This is a comma separated catalog list to exclude from querying data |
optional |
Outputs
Field |
Sample Value |
resource.urn |
my_catalog.my_database.my_table |
resource.name |
my_table |
resource.service |
presto |
schema |
[]Column |
Column
Field |
Sample Value |
name |
total_price |
data_type |
decimal |
is_nullable |
true |
description |
item's total price |
Contributing
Refer to the contribution guidelines for information on contributing to this module.
Documentation
¶
type Config struct {
ConnectionURL string `mapstructure:"connection_url" validate:"required"`
Exclude string `mapstructure:"exclude_catalog"`
}
Config holds the set of configuration options for the extractor
type Extractor struct {
}
Extractor manages the extraction of data
New returns a pointer to an initialized Extractor Object
Extract collects metadata of the database through emitter
Init initializes the extractor
Source Files
¶
Click to show internal directories.
Click to hide internal directories.