aws/amazon-neptune-jdbc-driver

[FEATURE] Gremlin Adapter Does not Support Column Name Defaults

lyndonbauto opened this issue · 0 comments

With the current JDBC Driver setup, you have to return data in a way where it comes as a LinkedHashMap.
This setup allows the JDBC Driver to infer the 'column name' of the data that is received.
There has been community requests to remove this restriction and allow column naming to have default values.

Describe the Solution

Default column names should likely be something like col<i> for i = 0; i < n; i++, however other naming scheme would be considered. The current lock is in the GremlinQueryExecutor

A simple way of fixing this would be to remove the if statement that skips non linked hash maps, and create a way of handling different datatypes with some autogenerated default column names.