Skip to content
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

[POC] Support geo_point #286

Closed
wants to merge 7 commits into from
Closed

[POC] Support geo_point #286

wants to merge 7 commits into from

Conversation

GumpacG
Copy link

@GumpacG GumpacG commented Jul 10, 2023

Description

Supports geo_point by adding properties for lat and lon in order for Tableau to access locations.
Changes in SymbolTable and RestSqlAction are just hacks to separate the properties of columns as separate columns.

Result of changes on Tableau:
Screenshot 2023-07-10 at 8 18 32 AM

Disable aggregation on number values:
Screenshot 2023-07-10 at 8 37 57 AM

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@@ -122,7 +122,7 @@ public Map<String, ExprType> lookupAllFields(Namespace namespace) {
final LinkedHashMap<String, ExprType> results = new LinkedHashMap<>();
allSymbols.entrySet().stream().filter(entry -> {
String symbolName = entry.getKey();
int lastDot = symbolName.lastIndexOf(".");
int lastDot = symbolName.lastIndexOf(":");

Choose a reason for hiding this comment

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

What happens with values of object type? Isn't this breaking?

Copy link
Author

Choose a reason for hiding this comment

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

No it gets separated into columns. This is not for geo_point support. Just to show that Tableau will work if geo_point values are separated.

@GumpacG GumpacG closed this Jul 14, 2023
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.

2 participants