invalid_aggregate_empty_parameter.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. [
  2. {
  3. "query": "percentile(measurements.fp,):3.3s",
  4. "result": [
  5. {"type": "spaces", "value": ""},
  6. {
  7. "type": "filter",
  8. "filter": "aggregateDuration",
  9. "negated": false,
  10. "key": {
  11. "type": "keyAggregate",
  12. "name": {"type": "keySimple", "value": "percentile", "quoted": false},
  13. "args": {
  14. "type": "keyAggregateArgs",
  15. "args": [
  16. {
  17. "separator": "",
  18. "value": {
  19. "type": "keyAggregateParam",
  20. "value": "measurements.fp",
  21. "quoted": false
  22. }
  23. },
  24. {
  25. "separator": ",",
  26. "value": null
  27. }
  28. ]
  29. },
  30. "argsSpaceBefore": {"type": "spaces", "value": ""},
  31. "argsSpaceAfter": {"type": "spaces", "value": ""}
  32. },
  33. "operator": "",
  34. "value": {
  35. "type": "valueDuration",
  36. "value": "3.3",
  37. "unit": "s",
  38. "parsed": {"value": 3300}
  39. },
  40. "invalid": {
  41. "reason": "Function parameters should not have empty values",
  42. "type": "empty-parameter-not-allowed"
  43. }
  44. },
  45. {"type": "spaces", "value": ""}
  46. ]
  47. }
  48. ]