Skip to content

Manually merge benchmarking branch with main (merge conflict) - #407

Merged
madhav-db merged 152 commits into
benchmarking-branchfrom
benchmarking-branch
Aug 21, 2024
Merged

madhav-db merged 152 commits into
benchmarking-branchfrom
benchmarking-branch

Conversation

@madhav-db

@madhav-db madhav-db commented Aug 21, 2024 •

Copy link
Copy Markdown
Contributor

Description

Manually merges benchmarking branch with main (merge conflict)

Currently, it was done through a workflow, but we now have a merge conflict. Resolving manually.

Testing

Additional Notes to the Reviewer

jprakash-db and others added 30 commits July 7, 2024 15:48
Cleaned Code and updated the executeInternal Command

Removed PAT Token
Modifies benchmarking workflow to checkout repo before checking out relevant branch
* testing

* implemented getObject + UT

* formatting

* minor changes

* bugfix

* minor changes

* tests

* Added IT, fixed some bugs

* addressed gopal's comments

* addressed madhav's comments

* Added UT for Exception handling in GetObject

* Added IT for checking file reads
* testing

* added LIST pattern

* changes
* testing

* implemented getObject + UT

* formatting

* minor changes

* bugfix

* minor changes

* added putobject + UT

* formatting

* minor changes

* formatting

* minor changes

* added tests

* minor changes
Removed Logger.Error statements and Exceptions thrown from Telemetry
madhav-db and others added 25 commits July 30, 2024 17:14
Fix driver pattern for executeQuery
…373)

* runner changed to self-hosted

* group changed

* formatting-check test

* macos runner removed for now
Fix handling of null type for thrift inline flow
* Minor change in connection to get UC Volume client

* Minor change
…#386)

* Adding GET extended command for UC volume operation

* Add changes for content length for input commands
…ion (#382)

* changes

* Minor test changes

* Updated changes

* Address comemnts

* minor fix
… input stream (#387)

* changes

* Minor test changes

* add tests

* .

* test

* test

* Update changes

* Update changes2

* fix imports

* Address comments
* [PECO-1818] Update version to 0.9.1-oss

* Enabling autoReleaseAfterClose for staging maven packages
- Default catalog was changed as part of 6453659. Tests will now use default catalog configured in test properties.
- Some cosmetic changes as well.
…(#313)

* removed hard-coded precision, scale in ResultSetMetadata
* Default value for timestamp, float, double changed
* added method for scale and precision
* code cov
- The driver now supports both SLF4J and Java Util Logging (JUL).
- The customer application can select the logging implementation by setting the system property `com.databricks.jdbc.loggerImpl`. For example: `java -jar application.jar -Dcom.databricks.jdbc.loggerImpl=JDKLOGGER`
- If the property is set to `SLF4JLOGGER` (case-insensitive), the driver will use SLF4J for logging.
- Note: The driver does not include SLF4J, SLF4J binding, or configuration files as dependencies. Therefore, if the customer application chooses SLF4J, it must provide the appropriate SLF4J, SLF4J binding, and configuration files in the classpath.
- If the property is set to `JDKLOGGER` (case-insensitive), the driver will use Java Util Logging (JUL).
- By default, driver will choose Java Util Logging (JUL).
- If the customer application has set the system property `java.util.logging.config.file` pointing to a JUL configuration file in the classpath, the driver’s JUL logger will inherit this configuration.
- If the system property `java.util.logging.config.file` is not set, the driver’s JUL logger can be configured using JDBC URL parameters: `logPath` (case-insensitive), `logLevel` (case-insensitive), `logFileCount` (case-insensitive), and `logFileSize` (case-insensitive). By default, `logLevel` is set to `Level.OFF` and `logPath` is set to the present working directory.
- The driver’s JUL will create log files with the pattern `databricks_jdbc.log.<file_index>` under the specified `logPath`.
- Developers are discouraged from using the central logging utility class `com.databricks.jdbc.commons.util.LoggingUtil`, which will be deprecated. Instead, each class should instantiate a static logger instance using `JdbcLoggerFactory#getLogger(Class<?>)`.
- Both logging implementations share a common interface `com.databricks.jdbc.log.JdbcLogger`.
- The SLF4J dependency is marked as provided. The scope of SLF4J binding (log4j) is reduced to tests.
- The `log4j2.xml` configuration file is removed from `src/main/resources`. A `logging.properties` configuration file is added in `src/test/resources` for local development and testing.
* fix charOctetLength

* Simba parity
@madhav-db
madhav-db merged commit 40f32e1 into databricks:benchmarking-branch Aug 21, 2024

This branch was previously deployed

1 inactive deployment
azure-prod — 4259794e Deployed Aug 21, 2024 by madhav-db
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.

9 participants