Skip to content

Add and test support for handling complex attributeExpression #105

Closed
@sarthak77

Description

@sarthak77

In response to this discussion, adding support for complex attribute. This will work as a substitute for map attributes.

e.g In a correct request, the attribute is mapped to the map column, and QS can understand the subpath.

AttributeExpression {
attributeId: API_TRACE.tags";
subpath: "span.kind"
}

e.g In a bad request, the attribute is mapped to a long column, and QS can't understand the subpath for that column, so will throw an exception.

AttributeExpression {
attributeId: API_TRACE.startTime";
subpath: "1234"
}

Dividing it into the following subtasks :

  • Add support for complex attributes in QueryRequestToPinotSQLConverter.java
  • Add relevant tests in MigrationTest.java
  • Pre process query request to add tags__KEYS = 'sample_column' filter

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions