Skip to content

[Canvas] Add support for geo_point data type #43892

@cqliu1

Description

@cqliu1

Describe the feature:
We should add support for the geo_point type instead of throwing an error.

Describe a specific use case for the feature:

Currently when you try to query all fields from the flights sample data index, the element displays an error. At a minimum, we should cast this to a Canvas string instead of throwing an error.

We cast Elasticsearch to Canvas types here:

const normalTypes = {
string: ['string', 'text', 'keyword', '_type', '_id', '_index'],
number: [
'float',
'half_float',
'scaled_float',
'double',
'integer',
'long',
'short',
'byte',
'token_count',
'_version',
],
date: ['date', 'datetime'],
boolean: ['boolean'],
null: ['null'],
};

Example:
Screen Shot 2019-08-23 at 12 02 40 PM

filters
| essql query="SELECT * FROM \"kibana_sample_data_flights\""
| table
| render

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:CanvasTeam:PresentationPresentation Team for Dashboard, Input Controls, and Canvas t//bugFixes for quality problems that affect the customer experienceimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.loe:smallSmall Level of Effort

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions