Watson Studio, Watson ML, Watson OpenScale

 View Only
  • 1.  Using parameters set in supernodes

    Posted Thu November 10, 2022 09:16 AM
    I have set a date parameter in my supernode and given it the name date_param which has a value of 2022-01-01. The parameter is defined in the supernode context menu as:

    Inside this supernode, I have a data source from which i need to read data generated only during above date. In this data source node I'm using the SQL query:
    Parameter call in source node
    Running the source node with the above query, I get the following error:

    Error message

    I've also tried setting WKSnapshotDate = '@date_param' but to no avail.

    Lirim Kadriu


  • 2.  RE: Using parameters set in supernodes

    Posted Fri November 11, 2022 12:42 PM
    How about you try this:

    where Date = '$P-date_param'

    Rodrigo Rebolledo

  • 3.  RE: Using parameters set in supernodes

    Posted Sun November 13, 2022 05:43 PM
    Hello Rodrigo,

    Thank you for the answer, I tested your suggestion. Unfortunately it did not work, I get an error saying "date_param is not a stream parameter", which is interesting since I set exactly "date_param" as super node parameter and saved it.

    Lirim Kadriu