invalid_numeric_fields.json 3.1 KB

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