Closed sripathikrishnan closed 5 years ago
Thanks @sripathikrishnan, will review it shortly
@Smyatkin-Maxim - any idea when this will make it to maven central repository?
@sripathikrishnan I've just uploaded 4.7.1-SNAPSHOT into maven for you right now. The release is supposed to happen in a few days. To use the snapshot something like this will do:
<repositories>
<repository>
<id>snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.omnisci</groupId>
<artifactId>jdbc</artifactId>
<version>4.7.1-SNAPSHOT</version>
</dependency>
</dependencies>
@Smyatkin-Maxim - that worked really well, and saved a lot of effort for me. It is a pain maintaining a fork + separate artifacts - and I am glad I don't have to! Thanks a lot!
Sure, thanks for the fix
Originally, batch inserts ignore the columns specified in the insert clause. This was apparently fixed with this pull request - https://github.com/omnisci/omniscidb/pull/335. However, this pull request doesn't seem to work for all cases.
In this pull request, we wrote a test case that generates multiple permutations of columns in an insert statement. Without the fix, the test case fails. With the fix, the test case passes.
Without fix:
After applying fix: