package
Version:
v0.11.0
Opens a new window with list of versions in this module.
Published: Oct 31, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
optimus
Usage
source:
type: optimus
config:
host: optimus.com:80
Key |
Value |
Example |
Description |
|
host |
string |
optimus.com:80 |
Optimus' GRPC host |
required |
max_size_in_mb |
int |
45 |
Max megabytes for GRPC client to receive message. Default to 45. |
|
Outputs
Field |
Sample Value |
resource.urn |
optimus::https://optimus-host.com/project.namespace.job |
resource.name |
job-name |
resource.service |
optimus |
resource.description |
Sample job description |
ownership.owners[0].urn |
john_doe@example.com |
ownership.owners[0].name |
john_doe@example.com |
lineage.upstreams[].urn |
bigquery::project/dataset/table |
lineage.upstreams[].type |
table |
lineage.upstreams[].service |
bigquery |
lineage.downstreams[0].urn |
bigquery::project/dataset/table |
lineage.downstreams[0].type |
table |
lineage.downstreams[0].service |
bigquery |
properties.attributes |
{} |
Contributing
Refer to the contribution guidelines for information on contributing to this module.
Documentation
¶
type Config struct {
Host string `json:"host" yaml:"host" mapstructure:"host" validate:"required"`
MaxSizeInMB int `json:"max_size_in_mb" yaml:"max_size_in_mb" mapstructure:"max_size_in_mb"`
}
Config holds the set of configuration for the bigquery extractor
type Extractor struct {
}
Extractor manages the communication with the bigquery service
Extract checks if the table is valid and extracts the table schema
Init initializes the extractor
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.