Skip to content

feat(csharp/src/Drivers/Apache): Initial support for Hive - #2

Open
kushaman wants to merge 16 commits into
mainfrom
amangoyal-hive-dev
Open

feat(csharp/src/Drivers/Apache): Initial support for Hive#2
kushaman wants to merge 16 commits into
mainfrom
amangoyal-hive-dev

Conversation

@kushaman

@kushaman kushaman commented Feb 6, 2025

Copy link
Copy Markdown
Owner

No description provided.

@kushaman
kushaman requested a review from birschick-bq February 6, 2025 06:06

@birschick-bq birschick-bq left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Just wondering if the connection classes in Spark/Impala/HiveServer2HttpConnection might have a common base class?

Comment thread csharp/src/Drivers/Apache/Hive2/HiveServer2ConnectionFactory.cs Outdated
Comment thread csharp/src/Drivers/Apache/Hive2/HiveServer2Database.cs
Comment thread csharp/src/Drivers/Apache/Hive2/HiveServer2HttpConnection.cs
@davidhcoe

Copy link
Copy Markdown

Please include a readme similar to https://github.com/apache/arrow-adbc/blob/main/csharp/src/Drivers/Apache/Spark/README.md that explains the type mapping and the parameters. Impala should have this as well.

Comment thread csharp/test/Drivers/Apache/Hive2/HiveServer2TestEnvironmentExtended.cs Outdated

@birschick-bq birschick-bq left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing spaces

Comment thread csharp/test/Drivers/Apache/Hive2/ClientTests.cs Outdated
Comment thread csharp/test/Drivers/Apache/Hive2/Resources/HiveData.sql Outdated
Comment thread csharp/test/Drivers/Apache/Hive2/Resources/HiveData.sql Outdated
Comment thread csharp/test/Drivers/Apache/Hive2/Resources/HiveData.sql Outdated
Comment thread csharp/test/Drivers/Apache/Hive2/Resources/HiveData.sql Outdated
Comment thread csharp/test/Drivers/Apache/Hive2/Resources/HiveData.sql Outdated
Comment thread csharp/test/Drivers/Apache/Hive2/Resources/HiveData.sql Outdated
Comment thread csharp/test/Drivers/Apache/Hive2/Resources/HiveData.sql Outdated
Comment thread csharp/test/Drivers/Apache/Hive2/Resources/HiveData.sql Outdated
Comment thread csharp/test/Drivers/Apache/Hive2/Resources/HiveData.sql Outdated
Remove trailing spaces.
@birschick-bq birschick-bq changed the title Initial support for Hive feat(csharp/src/Drivers/Apache): Initial support for Hive Feb 12, 2025

@birschick-bq birschick-bq left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove extra lines.

Comment thread csharp/test/Drivers/Apache/Hive2/DriverTests.cs Outdated
Comment thread csharp/test/Drivers/Apache/Hive2/Resources/HiveData.sql Outdated

@birschick-bq birschick-bq left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's nice to use named parameter when passing a boolean literal. The dataTypeConversion label was redundant (my fault).

Comment thread csharp/src/Drivers/Apache/Impala/ImpalaHttpConnection.cs Outdated
Comment thread csharp/src/Drivers/Apache/Impala/ImpalaStandardConnection.cs Outdated
Comment thread csharp/src/Drivers/Apache/Spark/SparkHttpConnection.cs Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants