Denodo community Q&A RSS feed Latest Denodo community questions LDAP CONNECTIVITY 2019-10-11T20:34:48Z 2019-10-11T20:34:48Z Hi Team, I am bale to connect the ldap server. Now I am trying access the objectclass=person using the base view and am getting the error and log shows at com.denodo.vdb.engine.thread.ReusableThread.b3(Unknown Source) [denodo-vdp-server.jar:7.0.4] at com.denodo.vdb.engine.thread.ReusableThread.run(Unknown Source) [denodo-vdp-server.jar:7.0.4] 88355 [Access(1)-15-01.09-db_ldap.user_0] INFO 2019-10-11T20:43:08.790 com.denodo.vdb.engine.wrapper.raw.ldap.LDAPAccess [] - Unable to search in LDAP Directory. null 88355 [Access(1)-15-01.09-db_ldap.user_0] DEBUG 2019-10-11T20:43:08.790 com.denodo.vdb.engine.thread.WorkWrapper [] - Work finish notified 88355 [Access(1)-15-01.09-db_ldap.user_0] DEBUG 2019-10-11T20:43:08.790 com.denodo.vdb.engine.AbstractResult [] - Worker 'com.denodo.vdb.engine.wrapper.raw.ldap.LDAPAccess@3bbf6921' ... notifyHasEnded 88356 [Access(1)-15-01.09-db_ldap.user_0] DEBUG 2019-10-11T20:43:08.791 com.denodo.vdb.engine.AbstractResult [] - notifyActionObservers 88356 [Access(1)-15-01.09-db_ldap.user_0] DEBUG 2019-10-11T20:43:08.791 com.denodo.vdb.interpreter.execution.processor.VDBActionProcessor [] - actionFinished [INIT] Queries: 1(1/1 - 0) - SELECT * FROM user_0 CONTEXT ('i18n'='us_pst', 'cache_wait_for_load'='true') TRACE 2019-10-11T20:34:48Z Daily Data refresh for Remote tables 2019-10-11T20:27:23Z 2019-10-11T20:27:23Z Hello, I'm using remote table to create a table and load the data in an oracle database. will the load refresh automatically if there is any new data in the base view. or do we have to exceute the base view again to perform the data refresh. Can it be scheduled every day using scheduler. During the data refresh (when the base view is run) , will it just add the delta records or truncate and load the data. 2019-10-11T20:27:23Z LDAP Microsoft ACtive Directory services 2019-10-10T19:18:06Z 2019-10-10T19:18:06Z Hi Team, I am trying connect the LDAP Microsoft ACtive Directory services to set up Single sign on. I am able to connect LDAP server by creating data source. I am created a base view with Objectclass->User->userprincipalname Got a error java.security.PrivilegedActionException I am not able to find the logs from <DENODO_HOME>\logs\vdp . Logs are nettig updated Could you please help to connect LDAP for authentication trace name = user_0 database = db_ldap startTime = Wed Oct 9 22:14:45 373 CEST 2019 endTime = Wed Oct 9 22:14:45 400 CEST 2019 responseTime = - numRows = 0 state = ERROR completed = false fields = [userprincipalname] search conditions = [] filter conditions = [] ordered = false numOfFilteredTuples = 0 numOfDuplicatedTuples = 0 numOfSwappedTuples = 0 swapping = false memoryLimitReached = false LDAP WRAPPER ( name = user_0 database = db_ldap startTime = Wed Oct 9 22:14:45 374 CEST 2019 endTime = Wed Oct 9 22:14:45 399 CEST 2019 responseTime = - numRows = 0 state = ERROR completed = false searchConditions = [] orderByFields = [] projectedFields = [userprincipalname] additionalSubPlans = 0 additionalErroneousSubPlans = 0 LDAP ROUTE ( name = user_0#0 datasource = sit_ldap datasource database = db_ldap startTime = Wed Oct 9 22:14:45 374 CEST 2019 endTime = Wed Oct 9 22:14:45 399 CEST 2019 responseTime = - numRows = 0 state = ERROR completed = false exception = java.security.PrivilegedActionException LDAP URI = ldap://dev.ttt.com:389/ use paging = false userName = svc@dev.ttt.com filter = (objectClass=user) recursive search = true projected attributes = [userprincipalname] connectionTime = 24 cachedStatus = false 2019-10-10T19:18:06Z LDAP authentication Error 2019-10-09T20:25:18Z 2019-10-09T20:25:18Z Hi Team, I am trying connect the LDAP Microsoft ACtive Directory services to set up Single sign on. I am able to connect LDAP server by creating data source. I am created a base view with Objectclass->User->userprincipalname Got a error java.security.PrivilegedActionException Could you please help to connect LDAP for authentication trace name = user_0 database = db_ldap startTime = Wed Oct 9 22:14:45 373 CEST 2019 endTime = Wed Oct 9 22:14:45 400 CEST 2019 responseTime = - numRows = 0 state = ERROR completed = false fields = [userprincipalname] search conditions = [] filter conditions = [] ordered = false numOfFilteredTuples = 0 numOfDuplicatedTuples = 0 numOfSwappedTuples = 0 swapping = false memoryLimitReached = false LDAP WRAPPER ( name = user_0 database = db_ldap startTime = Wed Oct 9 22:14:45 374 CEST 2019 endTime = Wed Oct 9 22:14:45 399 CEST 2019 responseTime = - numRows = 0 state = ERROR completed = false searchConditions = [] orderByFields = [] projectedFields = [userprincipalname] additionalSubPlans = 0 additionalErroneousSubPlans = 0 LDAP ROUTE ( name = user_0#0 datasource = sit_ldap datasource database = db_ldap startTime = Wed Oct 9 22:14:45 374 CEST 2019 endTime = Wed Oct 9 22:14:45 399 CEST 2019 responseTime = - numRows = 0 state = ERROR completed = false exception = java.security.PrivilegedActionException LDAP URI = ldap://dev.ttt.com:389/ use paging = false userName = svc@dev.ttt.com filter = (objectClass=user) recursive search = true projected attributes = [userprincipalname] connectionTime = 24 cachedStatus = false 2019-10-09T20:25:18Z incremental cache stored procedure finishing with error 2019-10-09T13:52:15Z 2019-10-09T13:52:15Z incremental cache stored procedure finishing with "error getting rows to update in cache" . i followed the installation manual, where could i have gone wrong? 2019-10-09T13:52:15Z Alert Configure after Detect Changes in Data Source (Oracle DB) 2019-10-09T13:44:44Z 2019-10-09T13:44:44Z Hi team, I already knew that we can detect changes in data sources as shown in the following help page. https://community.denodo.com/kb/view/document/How%20to%20detect%20changes%20in%20data%20sources?category=Data+Sources After detecting the changes, I WANT to send the changes' metadata to my application directly. I noticed in the following page that we can configure alert notification https://community.denodo.com/kb/view/document/Configuring%20alerts%20in%20Denodo?category=Operation **BUT if it is possible to send the changes directly to my application to use?** ( such as send the changes metadata as JSON, XML, etc, or just CSV file not as the help page showed attaching to the email ) Thanks, Wei 2019-10-09T13:44:44Z Denodo - Data Processing/Preparation, Python use cases 2019-10-09T07:59:33Z 2019-10-09T07:59:33Z Hi, We are currently using Denodo mainly for reporting stuffs and predictive analytics. What we are curious about is related to how we should see the Denodo and when it's best case to use and i have few topics related to this: 1. For example if i have a view in oracle database and want to call queries over this view i can do this very easily in oracle, in Denodo it gets kinda of complicated and we are losing too much time to move all this in Denodo istead of using connection directly to database. 2. Can i use Python to prepare the data coming from a datasource in denodo and then create a base view in Denodo ? I'm interested more in **What are the possibilities to massaging/preparing data to be consumed?** I want an answer as technical possible and with arguments if it's possibile please. If you can help me with some documentation,links related to this, please share. Thank you ! Best Regards 2019-10-09T07:59:33Z Problem with Denodo - Tableau Connection 2019-10-08T15:59:59Z 2019-10-08T15:59:59Z I have some problems in the connection between Denodo and Tableau. I guess I had correctly succeded in the connection... ![Tableau - Denodo](https://imgur.com/2Jo6ezH) ..., but Tableau seems that can not see the base view of my Denodo?s DB (Tableau) ![Tableau - Denodo2](https://imgur.com/dPbMFXJ) P.s. When I run the initial sql select * from tableau.salesrecord tableau does not give any error (error that it gives if I digit a bad table name select from tableau.salesrecor and it gives me a bad connection error) Can you help me with this problem? Thank you in advance Lorenzo https://imgur.com/2Jo6ezH https://imgur.com/dPbMFXJ 2019-10-08T15:59:59Z How to Convert datatype from Text to Date? 2019-10-07T00:22:04Z 2019-10-07T00:22:04Z HI Team, My base view has a date field which is in datatype text ( Varchar-50) and giving value '20190910172316' . I tried to convert the same to date by using " to_date('yyyyMMddhhmmss' , base_view.eff_dt ) as eff_dt " in derived view layer. it worked and given result as 'Wed Sep 11 05:53:16 IST 2019'. I felt two issues here, 1) Date and timestamp I'm getting is wrong it should give Sep 10. 2) For null values, i'm getting default value as 'Thu Jan 01 13:30:00 IST 1' . But it should give Null. Please help with correct function to convert text to Date and to overcome null handling issue. 2019-10-07T00:22:04Z Datetime issue 2019-10-06T18:26:17Z 2019-10-06T18:26:17Z Denodo custom Wrapper I am using below code, In the timestamp_field, timestamptz_field column is coming blank. @Override public CustomWrapperSchemaParameter[] getSchemaParameters( Map<String, String> inputValues) { return new CustomWrapperSchemaParameter[] { new CustomWrapperSchemaParameter("date_field", java.sql.Types.DATE) , new CustomWrapperSchemaParameter("timestamp_field", java.sql.Types.TIMESTAMP) , new CustomWrapperSchemaParameter("timestamptz_field", java.sql.Types.TIMESTAMP_WITH_TIMEZONE) , new CustomWrapperSchemaParameter("time_field", java.sql.Types.TIME) }; } @Override public void run(CustomWrapperConditionHolder condition,List<CustomWrapperFieldExpression> projectedFields,CustomWrapperResult result, Map<String,String> inputValues) throws CustomWrapperException { String strDatewithTime="2019-08-29 20:46:46.166666700"; // TODO Auto-generated method stub int index = strDatewithTime.indexOf("."); if(index>0) { strDatewithTime= strDatewithTime.substring(0, index); } DateTimeFormatter FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); result.addRow(new Object[]{ LocalDate.parse("2017-10-11"), LocalDateTime.parse(strDatewithTime,FORMATTER), OffsetDateTime.parse("2015-03-08T01:59:59+01:00"), LocalTime.parse("21:15:45")}, projectedFields); } to make this working, Do i need to change any settings? it's all hard coding, I don't think there is any code problem. This code is mention on below link https://community.denodo.com/docs/html/browse/7.0/vdp/developer/developing_extensions/developing_custom_wrappers/dealing_with_datetime_and_interval_types it's giving default value 1970-01-17 00:00:00 2019-10-06T18:26:17Z