-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Tableau connector cannot run any query over nodes #148
Comments
Hey @jmlingeman, I am looking at this right now. First off, custom sql doesn't work because it internally uses embedded SQL, though should work in extract mode. I am wondering if your issue has to do with the - and -> in your SQL. I have never seen this naming, and it would make sense why the error is in your vertex table but not edge table. Have you tried any other graphs? |
Hi @jmlingeman, we have taken a closer look at your issue. Queries over a node/vertex table should work, however, we did track down a bug that caused Please also let us know if this is not the case. Unfortunately, custom SQL in Tableau is not something we support, due to its usage of embedded SQL, and it actually does not work in live or extract mode. We will make this more clearer in our limitation document. Depending on the use case, purely issuing SQL commands to live database through the driver does work through DbVisualizer, with instructions here https://github.com/aws/amazon-neptune-jdbc-driver/blob/develop/markdown/bi-tools/DbVisualizer.md. Thank you! |
This appears to have been resolved with #160. Please reopen if there are any remaining issues. |
Describe the bug
Tableau, using the provided TACO file and JDBC connector, cannot execute any queries over tables representing nodes in the graph. Queries over tables representing edges seem to work fine.
This happens in both "Live" and "Extract" modes in Tableau. According to the docs, Extract mode should be supported.
A Parse Error is thrown when attempting to run queries over node tables. When attempting to run Custom SQL that is simplified (i.e.,
SELECT city.name from gremlin.city
) it results in a "Connection Error".This image shows the error when a node table is dragged into the main tableau screen and "Update Now" is clicked to populate the interface with data from the table:
![Screen Shot 2022-02-03 at 5 26 55 PM](https://user-images.githubusercontent.com/522069/152439636-ce6aabc9-8ffb-4477-b2ab-541a0ecd2bd6.png)
This image shows the error from a simple custom SQL query:
![Screen Shot 2022-02-03 at 5 29 58 PM](https://user-images.githubusercontent.com/522069/152440145-0e30d3d2-f17a-4691-8f5b-a0ec3742a0cd.png)
SQL Support and Limitations?
Steps to Reproduce
If being used in BI Tool, fill in:
SELECT "city"."name" from "gremlin"."city"
Expected behavior
Expect Tableau to populate the interface with data from the node table and allow me to use it to do other things.
Environment
Please add the following information to your report:
Additional Context
Queries over edge tables work just fine. This led me to believe it was an issue with the cardinality of the properties in the node tables, since Neptune defaults to
Cardinality.set
for node properties. However after manually assigning all properties in the graph to be ofCardinality.single
, this does not seem to be the case.The text was updated successfully, but these errors were encountered: