GoogleCloudPlatform / GoogleCloudPlatform/professional-services-data-validator

Connections add exception for Hive and Impala

Open
#1,720 0 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Python
Stars
524
Forks
171
Avg merge
5d 15h
Merged PRs (30d)
4

Description

**Describe the bug**
We document additional options for Hive and Impala connections:

https://github.com/GoogleCloudPlatform/professional-services-data-validator/blob/develop/docs/connections.md#impala

But when adding tests for issue https://github.com/GoogleCloudPlatform/professional-services-data-validator/issues/1713 we saw exceptions when trying to use `--timeout`, with both Hive and Impala backends.

```
$ data-validation connections add -c hive-test Impala --host $HIVE_HOST --port 10000 --database default --auth-mechanism NOSASL --timeout 30
...
ata_validation.exceptions.DataClientConnectionFailure: Connection Type "Impala" could not connect: can't multiply sequence by non-int of type 'float'
```

I didn't test out all additional options, we should check others too.

Search for "issue-1720" in tests when working on this issue.

**What version of DVT are you using?**
8.5.2

**What type of connections are you using for source and target?**
Hive, Impala

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.