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 16:47:20 UTC

[jira] [Created] (LENS-1237) Saved query validation is failing for MULTIPLE collection type parameters

Archana H created LENS-1237:
-------------------------------

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


Query : cube select id,name from sample_dim where name in :values

XML invalid: Encountered while resolving with sample values { cube select id,name from sample_dim where name in ('sample_string_val','sample_string_val')


{CODE}
894 > 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%3Ead79add0-3a59-4b67-be33-cdd5d07516fe%3C%2FpublicId%3E%3CsecretId%3E38d2eea7-cd28-4af6-bf58-dc8a617e38d4%3C%2FsecretId%3E%3C%2FlensSessionHandle%3E
894 > accept: application/xml
894 > connection: keep-alive
894 > content-length: 264
894 > content-type: application/json
894 > host: 192.168.138.184:9999
894 > 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_dim where name in :values","parameters":[{"name":"values","displayName":"param","defaultValue":["first","second"],"dataType":"STRING","collectionType":"MULTIPLE"}]}}

26 Jul 2016 16:33:52 [0f6fb5d8-6a59-46eb-8023-91a4ef205a88] [grizzly-http-server-9] INFO  org.apache.lens.server.LensServer.request - 894 * Server responded with a response on thread grizzly-http-server-9
894 < 400
894 < Content-Type: application/xml
XML invalid: Encountered while resolving with sample values { cube select id,name from sample_dim where name in ('sample_string_val','sample_string_val') }
{CODE}



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