You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Archana H (JIRA)" <ji...@apache.org> on 2016/07/26 17:04:20 UTC

[jira] [Created] (LENS-1238) Saved query validation is failing for Number datatype parameters

Archana H created LENS-1238:
-------------------------------

             Summary: Saved query validation is failing for Number datatype parameters
                 Key: LENS-1238
                 URL: https://issues.apache.org/jira/browse/LENS-1238
             Project: Apache Lens
          Issue Type: Bug
            Reporter: Archana H


Query : cube select id, name from sample_db_dim where id = :value

{CODE}
931 > POST http://192.168.138.184:9999/lensapi/queryapi/savedqueries?sessionid=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22+standalone%3D%22yes%22%3F%3E%3ClensSessionHandle%3E%3CpublicId%3Ed75f7b20-d198-40f8-a250-37e1eb04f2af%3C%2FpublicId%3E%3CsecretId%3E72adf78c-5135-41c8-a5f1-6e1c3e20f96e%3C%2FsecretId%3E%3C%2FlensSessionHandle%3E
931 > accept: application/xml
931 > connection: keep-alive
931 > content-length: 248
931 > content-type: application/json
931 > host: 192.168.138.184:9999
931 > user-agent: Jersey/2.22.1 (HttpUrlConnection 1.8.0_91)
{"savedQuery":{"id":0,"name":"query1","description":"abc","query":"cube select id, name from sample_db_dim where id = :value","parameters":[{"name":"value","displayName":"param","defaultValue":["1"],"dataType":"NUMBER","collectionType":"SINGLE"}]}}

26 Jul 2016 17:01:35 [b17122e5-2c47-4795-885f-bb73174e29a9] [grizzly-http-server-2] INFO  org.apache.lens.server.LensServer.request - 931 * Server responded with a response on thread grizzly-http-server-2
931 < 400
931 < Content-Type: application/xml
XML invalid: Encountered while resolving with sample values { cube select id, name from sample_db_dim where id = 9223372036854775807 }
{CODE}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)