Denodo community Q&A RSS feed Latest Denodo community questions Unable to launch Denodo Express on port //localhost:9999/admin 2021-04-23T14:22:57Z 2021-04-23T14:22:57Z I have installed Denodo Express and tried launching but an getting the error message "Connection error: check the host name and port number are correct and that client and server belong to the same Denodo major version. Connection refused. No further information: localhost/ 2021-04-23T14:22:57Z denodo testing with nested complex structure 2021-04-23T13:53:20Z 2021-04-23T13:53:20Z Hi, I am trying to test some complex structure. Suppose I have the following view: | tech_data | | -------- | | Array | and Array is: | measurements | weights | additional | | -------- | -------- | -------- | | Register | Register | Register | for each register there are some String values. Im doing this: ``` # ------------------------------ %NAME Test name # ------------------------------ %DESCRIPTION Description # ------------------------------ %EXECUTION[query] {ds:vdp} SELECT tech_data FROM view; # ------------------------------ %RESULTS[data] technical_data "[{{'4584', '4584', '1640', '1852', '1852', '2771', '1587', '1597', '1562', '1572', 'mm'}, {'2124', '2660', '451', '611', '1540', '1170', '1000', '1200', '750', '75', '75', 'kg'}, {'10200', '0603'}}]" # ------------------------------ ``` So, the first [] corresponds to the Array. The first {} corresponds to the unique row that Array has. The next {}'s are for the three Registers. This still gives me this error: ``` Error getting elements in a complex type: {{'4584', '4584', '1640', '1852', '1852', '2771', '1587', '1597', '1562', '1572', 'mm'} ``` If I remove the first {} ``` %RESULTS[data] technical_data "[{'4584', '4584', '1640', '1852', '1852', '2771', '1587', '1597', '1562', '1572', 'mm'}, {'2124', '2660', '451', '611', '1540', '1170', '1000', '1200', '750', '75', '75', 'kg'}, {'10200', '0603'}]" # ------------------------------ ``` , this tells me the following: ``` Row 1, col 1 of the obtained result contained [[{{'4584', '4584', '1640', '1852', '1852', '2771', '1587', '1597', '1562', '1572', 'mm'}, {'2124', '2660', '451', '611', '1540', '1170', '1000', '1200', '750', '75', '75', 'kg'}, {'10200', '0603'}}]], but [[{'4584', '4584', '1640', '1852', '1852', '2771', '1587', '1597', '1562', '1572', 'mm'}, {'2124', '2660', '451', '611', '1540', '1170', '1000', '1200', '750', '75', '75', 'kg'}, {'10200', '0603'}]] was expected at that position. ``` What could be the problem? 2021-04-23T13:53:20Z JBDC Drive loading issues 2021-04-22T18:51:17Z 2021-04-22T18:51:17Z We are getting this issue while creating new JDBC data resorces from weblogic console. Message icon - Error Connection test failed. Message icon - Error Cannot load driver: com.denodo.vdp.jdbc.Driver 2021-04-22T18:51:17Z outer join with filter on the outer table. 2021-04-22T06:29:45Z 2021-04-22T06:29:45Z I am facing a situation in Denodo where it does not support a scenario with outer join and filter on outer table. if we dont have a lookup value on the outer join table along with filter on the outer table how to retrive the data. In Oracle I will be able to do SCALAR SUB QUERIES, or outer join with filter. For example lets have EMPLOYEES and ADDRESS as two tables. Suppose lets say for a EMP_ID the PIN_CODE is null the lookup table might not have ``` EMPLOYEES EMP_ID NAME PIN_CODE ADDRESS PIN_CODE PIN_DESCRIPTION CODE_TYPE ``` Sample Queries in Oracle where I am able to get the resultset 1. SCALAR SUBQUERY (Denodo does not support this) SELECT A.EMP_ID, A.PIN_CODE, (SELECT B.PIN_DESCRIPTION FROM ADDRESS B WHERE A.PIN_CODE = B.PIN_CODE AND CODE_TYPE='METRO') FROM EMPOYEES A 2. OUTER JOIN WITH FILTER (working in oracle and not in denodo SELECT A.EMP_ID, A.PIN_CODE, B.PIN_DESCRIPTION FROM EMPLOYESS A , ADDRESS B WHERE A.PIN_CODE = B.PIN_CODE (+) AND B.CODE_TYPE (+) = 'METRO' please guide me how shall we achive in denodo Thanks, Vijay K 2021-04-22T06:29:45Z Denodo dialect for python 2021-04-21T21:58:11Z 2021-04-21T21:58:11Z Hi, I downloaded the denodo dialect for python connexion to use with sqlAlchemy on the support site. (Denodo Dialect for SQLAlchemy). I tried to add the dialect like I was told in this article : Sadly, that doesnt work. I got an error not finding the module. Traceback (most recent call last): File "C:/projets/poc-requete-complexe2/src/dockerlab/", line 21, in <module> engine = create_engine(f'denodo://{user}:{password}@{host}/{database}') File "<string>", line 2, in create_engine File "C:\projets\poc-requete-complexe2\venv\lib\site-packages\sqlalchemy\util\", line 298, in warned return fn(*args, **kwargs) File "C:\projets\poc-requete-complexe2\venv\lib\site-packages\sqlalchemy\engine\", line 522, in create_engine entrypoint = u._get_entrypoint() File "C:\projets\poc-requete-complexe2\venv\lib\site-packages\sqlalchemy\engine\", line 653, in _get_entrypoint cls = registry.load(name) File "C:\projets\poc-requete-complexe2\venv\lib\site-packages\sqlalchemy\util\", line 339, in load raise exc.NoSuchModuleError( sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:denodo I did add the dialect in my venv under : venv\Lib\site-packages\sqlalchemy\dialects Here's my code for connexion : engine = create_engine(f'denodo://{user}:{password}@{host}/{database}') Thanks for your help, David 2021-04-21T21:58:11Z Json-HTTP client as data source 2021-04-21T20:25:37Z 2021-04-21T20:25:37Z I am trying to confugure Json (HTTP client) as datasource in Denodo . Where do I give the Authorization token access like Bearer <> . Has any body tried this datasource configuration 2021-04-21T20:25:37Z Reply to my another question - How to use 3 parameters in 'instr' function? 2021-04-21T18:08:42Z 2021-04-21T18:08:42Z Hi DENODO Team, I need to read the given string in reverse order ( from reverse position). STRING: ?abcd-E3/FGHIJ:KL-MNOP-QRST? As per your last reply answer, I will get the 1st position of symbol ?-?, which is 4 SELECT INSTR(SUBSTR(?abcd-E3/FGHIJ:KL-MNOP-QRST?, 1), ?-?) from dual(); Whereas I need the last position of symbol ?-?,which is 21. Based on the position result, i will again apply SUBSTRING and retreive the characters of that string (like 21-1 = 20 - 1st 20 characters from the given string) Expected Result: i need ?abcd-E3/FGHIJ:KL-MNOP? from ?abcd-E3/FGHIJ:KL-MNOP-QRST? Using your answer, I will get ?abcd? from ?abcd-E3/FGHIJ:KL-MNOP-QRST? SELECT SUBSTR(?abcd-E3/FGHIJ:KL-MNOP-QRST?, 1,(INSTR(SUBSTR(?abcd-E3/FGHIJ:KL-MNOP-QRST?, 1), ?-?)+1)-1) from dual(); 2021-04-21T18:08:42Z Timeout setting for Denodo Admin tool 2021-04-21T09:45:09Z 2021-04-21T09:45:09Z Hello Can i set some timeout value for denodo admin tool installed on my machine? Thanks 2021-04-21T09:45:09Z After enabling HTTPS can't connecto to virtual data port server nor webtools 2021-04-20T09:21:29Z 2021-04-20T09:21:29Z Hello, I was doing the exercise of the DEN80EDU13DS05 module to enable the HTTPS in and server.xml and did everything as was shown. But after I start the servers VDP server can be started, but it does not connect to server. It says it is connecting and keeps waiting for a server connection. The Web Tools don't even start. The http://localhost:9443/denodo-restfulws/denodotraining is rejected. I tried to configure the ports in the firewall but it still does not work, is there any additional configuration? Thank you. 2021-04-20T09:21:29Z Apache Zeppelin for Denodo - Shared Server - Not found 2021-04-19T22:44:59Z 2021-04-19T22:44:59Z Hi, Need help to install Zeppelin. I followed the Denodo documentation. But the link to download Denodo Apache Zeppelin on this page is not working. Are we supposed to install only from Denodo site to get the interpretor ? Also doc suggest to use ?Apache Zeppelin for Denodo - Shared Server? version. When I tried to download from Apache Zeppelin > downloads I cant see this version. Any suggestion? 2021-04-19T22:44:59Z