Incorrect sql query. How do I get Pega to generate correct SQL query using function alias in a report?
Hello!
1. I have a simple function alias which takes 2 parameters.
2. I have a report definition. One of the columns uses my function alias, and one of the parameters is a value from a joined table (using Declare-Index)
3. In generated SQL I see that Pega tries to read the blob of the joined table trying to retrieve the 1st parameter, which it doesn't have to do, because the value is exposed (it hasn't been exposed via Pega though, I manually mapped the columns in the Class Advanced tab)
How do I get Pega not to read values from a blob?
Hello!
1. I have a simple function alias which takes 2 parameters.
2. I have a report definition. One of the columns uses my function alias, and one of the parameters is a value from a joined table (using Declare-Index)
3. In generated SQL I see that Pega tries to read the blob of the joined table trying to retrieve the 1st parameter, which it doesn't have to do, because the value is exposed (it hasn't been exposed via Pega though, I manually mapped the columns in the Class Advanced tab)
How do I get Pega not to read values from a blob?