Skip to main content

This plugin allows vdk-core to interface with and execute queries against an Impala database.

Usage

Run

pip install vdk-impala

After this, data jobs will have access to a Impala database connection, managed by Versatile Data Kit SDK.

If it is the only database plugin installed , vdk would automatically use it. Otherwise, users need to set VDK_DB_DEFAULT_TYPE=IMPALA as an environment variable or set 'db_default_type' option in the data job config file (config.ini).

For example

    def run(job_input: IJobInput):
        job_input.execute_query("select 'Hi Impala!'")

Configuration

Run vdk config-help - search for those prefixed with "IMPALA_" to see what configuration options are available.

Disclaimer

This plugin is tested against a specific impala version. The version comes from the docker-compose.yaml container's impala version. For more information on the imapala version tested against please google the docker image.

Testing

Testing this plugin locally requires installing the dependencies listed in vdk-plugins/vdk-impala/requirements.txt

Run

pip install -r requirements.txt

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vdk-impala-0.2.510587356.tar.gz (18.2 kB view details)

Uploaded Source

File details

Details for the file vdk-impala-0.2.510587356.tar.gz.

File metadata

  • Download URL: vdk-impala-0.2.510587356.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.13

File hashes

Hashes for vdk-impala-0.2.510587356.tar.gz
Algorithm Hash digest
SHA256 9ef691b06e10d7646daf789dc5b1b072512d161c16ecbcabb588a09a09f436cb
MD5 3e884a79350d2947366640454b02e309
BLAKE2b-256 cf38d4e653062257738139fe9b117f6de03352d1befe8b182b8940b2c6b3b310

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.1431637373

1 file

0.4.1245476944

1 file

0.4.1239942261

1 file

0.4.1229662413

1 file

0.4.1227724565

1 file

0.4.1222161320

1 file

0.4.1190994517

1 file

0.4.1184833162

1 file

0.4.1156222304

1 file

0.4.1108359981

1 file

0.4.1083075596

1 file

0.4.1066314998

1 file

0.4.1052511462

1 file

0.4.1051859886

1 file

0.4.1026766306

1 file

0.4.1024022076

1 file

0.4.975814598

1 file

0.4.961031287

1 file

0.4.957849598

1 file

0.4.953562131

1 file

0.4.944393829

1 file

0.4.929119368

1 file

0.4.925190661

1 file

0.4.923137788

1 file

0.4.921937017

1 file

0.4.901076872

1 file

0.4.889197396

1 file

0.4.865304872

1 file

0.4.824443273

1 file

0.4.792462477

1 file

0.4.755017736

1 file

0.4.715017056

1 file

0.4.710585567

1 file

0.4.672320306

1 file

0.4.671027460

1 file

0.4.669635513

1 file

0.4.666031405

1 file

0.4.664990419

1 file

0.4.663931565

1 file

0.4.662590731

1 file

0.4.659212801

1 file

0.4.651849986

1 file

0.4.634828571

1 file

0.4.632470410

1 file

0.4.623055190

1 file

0.4.621904970

1 file

0.4.613570906

1 file

0.4.607542307

1 file

0.3.605101952

1 file

0.3.604201902

1 file

0.3.520417292

1 file

This release

0.2.510587356 This release

1 file

0.2.477708478

1 file

0.2.476585195

1 file

0.1.474902499

1 file

0.1.465165845

1 file

0.1.456869669

1 file

0.1.454921726

1 file

0.1.448032169

1 file

0.1.444973869

1 file

0.1.428750576

1 file

0.1.426832659

1 file

0.1.424079356

1 file

0.1.421113854

1 file

0.1.415648530

1 file

0.1.415625538

1 file

0.1.414800992

1 file

0.1.406990076

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page