Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[results/js2023/yearly_salary] runQuery Issue: Float cannot represent non numeric value: range_7_9 #397

Open
luisaterrabrito opened this issue Jun 25, 2024 · 0 comments

Comments

@luisaterrabrito
Copy link

Edition ID

js2023

Block ID

yearly_salary

Filters:

{
  "options": {
    "showDefaultSeries": false,
    "enableYearSelect": false,
    "mode": "grid",
    "queryOnLoad": false,
    "cutoff": 1,
    "cutoffType": "percent",
    "limit": 20,
    "mergeOtherBuckets": false,
    "preventQuery": false
  },
  "filters": [
    {
      "year": 2023,
      "conditions": [
        {
          "fieldId": "country",
          "sectionId": "user_info",
          "operator": "eq",
          "value": "GBR"
        },
        {
          "fieldId": "years_of_experience",
          "sectionId": "user_info",
          "operator": "eq",
          "value": "range_7_9"
        }
      ]
    }
  ]
}

Query:


query {
  surveys {
  state_of_js {
      js2023 {
      user_info {
          
      yearly_salary_1: yearly_salary {
          id
          
          
          responses(filters: {user_info__country:{eq:GBR},user_info__years_of_experience:{eq:range_7_9}}, parameters: {showNoAnswer:true,mergeOtherBuckets:false,cutoffPercent:1,facetCutoffPercent:1,limit:20}) {
          currentEdition {
              
              completion {
                  count
                  percentageSurvey
                  total
              }
              average
              percentiles {
                  p50
              }
              
              buckets {
                  count
                  id
                  percentageQuestion
                  percentageSurvey
                  hasInsufficientData
                  entity {
  name
  nameHtml
  nameClean
  alias
  description
  descriptionHtml
  descriptionClean
  id
  entityType
  example {
    label
    language
    code
    codeHighlighted
  }
  avatar {
    url
  }
  homepage {
    url
  }
  youtube {
    url
  }
  twitter {
    url
  }
  twitch {
    url
  }
  rss {
    url
  }
  blog {
      url
  }
  mastodon {
      url
  }
  github {
      url
  }
  npm {
      url
  }
  mdn {
      url
  }
  caniuse {
      url
  }
  resources {
      url
      title
  }
}
                  
                  
                  
                  
              }
          }
          }
      }
      }
      }
  }
  }
}

Location

https://2023.stateofjs.com/en-US/demographics/

Timestamp

Tue Jun 25 2024 18:21:24 GMT+0100 (British Summer Time)

Error:

{
"message": "Float cannot represent non numeric value: range_7_9",
"locations": [
  {
    "line": 12,
    "column": 96
  }
],
"extensions": {
  "code": "GRAPHQL_VALIDATION_FAILED"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant