invalid_numeric_fields.json 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. [
  2. {
  3. "query": "project.id:one",
  4. "result": [
  5. {"type": "spaces", "value": ""},
  6. {
  7. "type": "filter",
  8. "filter": "text",
  9. "negated": false,
  10. "invalid": {
  11. "reason": "Invalid number. Expected number then optional k, m, or b suffix (e.g. 500k)",
  12. "expectedType": ["numeric", "numericIn"]
  13. },
  14. "key": {"type": "keySimple", "value": "project.id", "quoted": false},
  15. "operator": "",
  16. "value": {"type": "valueText", "value": "one", "quoted": false}
  17. },
  18. {"type": "spaces", "value": ""}
  19. ]
  20. },
  21. {
  22. "query": "issue.id:two",
  23. "result": [
  24. {"type": "spaces", "value": ""},
  25. {
  26. "type": "filter",
  27. "filter": "text",
  28. "negated": false,
  29. "invalid": {
  30. "reason": "Invalid number. Expected number then optional k, m, or b suffix (e.g. 500k)",
  31. "expectedType": ["numeric", "numericIn"]
  32. },
  33. "key": {"type": "keySimple", "value": "issue.id", "quoted": false},
  34. "operator": "",
  35. "value": {"type": "valueText", "value": "two", "quoted": false}
  36. },
  37. {"type": "spaces", "value": ""}
  38. ]
  39. },
  40. {
  41. "query": "transaction.duration:>hotdog",
  42. "result": [
  43. {"type": "spaces", "value": ""},
  44. {
  45. "type": "filter",
  46. "filter": "text",
  47. "negated": false,
  48. "invalid": {
  49. "reason": "Invalid duration. Expected number followed by duration unit suffix",
  50. "expectedType": ["duration"]
  51. },
  52. "key": {"type": "keySimple", "value": "transaction.duration", "quoted": false},
  53. "operator": "",
  54. "value": {"type": "valueText", "value": ">hotdog", "quoted": false}
  55. },
  56. {"type": "spaces", "value": ""}
  57. ]
  58. },
  59. {
  60. "query": "measurements.lcp:>hotdog",
  61. "result": [
  62. {"type": "spaces", "value": ""},
  63. {
  64. "type": "filter",
  65. "filter": "text",
  66. "negated": false,
  67. "invalid": {
  68. "reason": "Invalid duration. Expected number followed by duration unit suffix",
  69. "expectedType": ["duration"]
  70. },
  71. "key": {"type": "keySimple", "value": "measurements.lcp", "quoted": false},
  72. "operator": "",
  73. "value": {"type": "valueText", "value": ">hotdog", "quoted": false}
  74. },
  75. {"type": "spaces", "value": ""}
  76. ]
  77. },
  78. {
  79. "query": "spans.db:>hotdog",
  80. "result": [
  81. {"type": "spaces", "value": ""},
  82. {
  83. "type": "filter",
  84. "filter": "text",
  85. "negated": false,
  86. "invalid": {
  87. "reason": "Invalid duration. Expected number followed by duration unit suffix",
  88. "expectedType": ["duration"]
  89. },
  90. "key": {"type": "keySimple", "value": "spans.db", "quoted": false},
  91. "operator": "",
  92. "value": {"type": "valueText", "value": ">hotdog", "quoted": false}
  93. },
  94. {"type": "spaces", "value": ""}
  95. ]
  96. }
  97. ]