Skip to content

[FEATURE] Support _/- as parsed field name #3944

@penghuo

Description

@penghuo

Is your feature request related to a problem?

The following query failed with SemanticCheckException.

source=test001 | parse message 'endpoint=/(?<action_code>\\w+)' | fields action_code

{
  "error": {
    "reason": "Invalid Query",
    "details": "can't resolve Symbol(namespace=FIELD_NAME, name=action_code) in type env",
    "type": "SemanticCheckException"
  },
  "status": 400
}

What solution would you like?
The query should works successfully.

What alternatives have you considered?
n/a

Do you have any additional context?
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

PPLPiped processing languageenhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions