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.

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.1.448032169.tar.gz (10.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: vdk-impala-0.1.448032169.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for vdk-impala-0.1.448032169.tar.gz
Algorithm Hash digest
SHA256 99925778a5a0d385bcf1bad35d7dcf58a08d14f615b566e29f13e969a21f8231
MD5 25a2795b59a162d1f6a68a2be7c65ef1
BLAKE2b-256 fafa64f6c33fc4de30f0be34a91b1ffe9e1044aa3b5e98e97af059120fa54dd5

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

0.2.510587356

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

This release

0.1.448032169 This release

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