You can translate the question and the replies:

function 'leftpad' cannot be delegated to this database

I have created a selection view in denodo where i have applied some transformations and while executing got the error stating function 'leftpad' cannot be delegated to this database. Redshift is the data source. lpad works in reshift but doesn't work in Denodo. Can you please let us know equivalent function for leftpad/lpad that would delegate the function to redshift and also will work in Denodo. Awaiting for the response ASAP
20-05-2022 09:06:49 -0400

3 Answers

Hi Support Team, Can I have an update on this please. Thanks
23-05-2022 03:23:41 -0400
Please help on this ASAP
23-05-2022 10:17:18 -0400
Hello, I would refer to the documentation on [XtraFunctions - User Manual]( to address this. There you can find more about the LPAD function and which databases this function is currently delegated to in Denodo. From there, you can see Redshift is currently not supported. From here, I would suggest two options: * If you have a valid support user, you can open a support case and request an enhancement for leftpad to be delegated to redshift. * If you are running on a full-license of the Denodo Platform, you can also create your own custom function, that can be delegated to the source. You can learn more on how to in [Develop a Virtual DataPort Custom Function]( Hope this helps!
Denodo Team
23-05-2022 11:18:05 -0400
You must sign in to add an answer. If you do not have an account, you can register here