US and Worldwide: +1 (866) 660-7555
Results 1 to 4 of 4

Thread: Can't make CDA work with 1-element StringArray

  1. #1
    Join Date
    May 2011
    Posts
    16

    Default Can't make CDA work with 1-element StringArray

    I reccently updated CDE to the latest version. Now, I have a query that goes something like:

    SELECT Country, SUM(Sales)
    FROM myTable
    WHERE Region IN (${region})
    GROUP BY Country;

    Before the update, my region variable in CDE could have a value of "A1" (a string), or [["A1"], ["A2"], ["A3"]] (an array), and work flawlessly with the query above.

    But now, CDA accepts neither "A1" nor [["A1"]] as a valid value and my query fails.

    Seems like the only way I can pass a 1-element string array to CDA from CDE is passing the region variable with a value of [["A1"], null].

    Does anyone know a better way to make this work? Somehow doing that null-ended array does not feel like a real solution to me...

    Regards

  2. #2
    Join Date
    Jul 2007
    Posts
    2,172

    Default

    Can you file a bug in redmine.webdetails.org, preferably with a reproduction path?
    Pedro Alves
    Meet us on ##pentaho, a FreeNode irc channel

  3. #3
    Join Date
    May 2011
    Posts
    16

    Default

    Tried to, but I can't figure out how to do it!

  4. #4
    Join Date
    May 2011
    Posts
    16

    Default

    Forget it, it's now registered.

    http://redmine.webdetails.org/issues/966

    Greetings

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •