What is the bug?rename function doesn't work in PPL.
How can one reproduce the bug?
Steps to reproduce the behavior:
Go to Data sources -> securitylake -> query data -> open log explorer
Run the follow queries:
source = securitylake.amazon_security_lake_glue_db_us_east_1.amazon_security_lake_table_us_east_1_vpc_flow_2_0
| where time_dt > '2024-07-31 00:00:00 ' and region = 'us-east-1'
| rename src_endpoint.ip as src_ip
| fields src_ip
| head 10
The following error message will return:
{"Message":"Fail to analyze query. Cause: Column 'src_ip' does not exist. Did you mean one of the following?
What is the expected behavior?
src_ip will be returned as the field name
What is your host/environment?
OS: [e.g. iOS]
Version 2.13
Plugins
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The 'rename' command is not yet implemented at all (not in the code and not in antlr). I am working on this now and will submit a PR soon to add this command.
What is the bug?
rename
function doesn't work in PPL.How can one reproduce the bug? Steps to reproduce the behavior:
The following error message will return:
What is the expected behavior? src_ip will be returned as the field name
What is your host/environment?
Do you have any screenshots? If applicable, add screenshots to help explain your problem.
Do you have any additional context? Add any other context about the problem.