# Archives

**URL:** https://community.cdata.com/c/archives/12.md?page=1

[Latest](https://community.cdata.com/latest.md) · [Categories](https://community.cdata.com/categories.md) · [Tags](https://community.cdata.com/tags.md)

**Page:** 2

---

## [Show Running Queries on Redshift via Native Interface](https://community.cdata.com/t/show-running-queries-on-redshift-via-native-interface/851)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 5:12pm UTC](https://community.cdata.com/t/show-running-queries-on-redshift-via-native-interface/851 "2024-07-12T17:12:31Z")

</div>

When native queries are enabled in your Amazon Redshift data warehouse (this can be done by adding supportsNativeQueries=true as a translator property to the data source configuration), you can easily view the 200 most r…

---

## [Special characters in columns are in wrong encoding](https://community.cdata.com/t/special-characters-in-columns-are-in-wrong-encoding/850)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 5:10pm UTC](https://community.cdata.com/t/special-characters-in-columns-are-in-wrong-encoding/850 "2024-07-12T17:10:38Z")

</div>

Googles response from the server is in UTF-8 but some columns maintain their original charset, so your Umlauts or other special charaters will look defect ( e.g. campaignName). To fix it, you can use TO\_CHARS and TO\_BYT…

---

## [Facebook: Handle Paged Results](https://community.cdata.com/t/facebook-handle-paged-results/849)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 5:09pm UTC](https://community.cdata.com/t/facebook-handle-paged-results/849 "2024-07-12T17:09:22Z")

</div>

If you’re using Facebook API, it’s important to remember that by default, most responses to API requests are paginated by default. In this article, we describe how to work with paged results. Facebook will return a next …

---

## [JOINs not working in Salesforce](https://community.cdata.com/t/joins-not-working-in-salesforce/848)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 5:07pm UTC](https://community.cdata.com/t/joins-not-working-in-salesforce/848 "2024-07-12T17:07:51Z")

</div>

After adding a Salesforce data source, you can access your Salesforce account’s data in a relational manner. However, the Salesforce data model itself has a few limitations which do not exist in regular relational databa…

---

## [Create Dependent Replication Jobs](https://community.cdata.com/t/create-dependent-replication-jobs/847)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 5:06pm UTC](https://community.cdata.com/t/create-dependent-replication-jobs/847 "2024-07-12T17:06:29Z")

</div>

Dependent replication jobs can help you to improve the running time and system resource consumption for queries and views that are either often required or involve data sources with a huge amount of data (several million…

---

## [Setting the Server Locale for the WEEK and DAYOFWEEK Functions](https://community.cdata.com/t/setting-the-server-locale-for-the-week-and-dayofweek-functions/846)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 5:04pm UTC](https://community.cdata.com/t/setting-the-server-locale-for-the-week-and-dayofweek-functions/846 "2024-07-12T17:04:47Z")

</div>

Depending on the locale of the server’s operating system, the WEEK function used on a Sunday may return the next week, as Sunday is set as the first day of the week. This can be tested with SELECT WEEK('2014-01-05') …

---

## [Materialisation errors on Salesforce tables](https://community.cdata.com/t/materialisation-errors-on-salesforce-tables/845)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 5:02pm UTC](https://community.cdata.com/t/materialisation-errors-on-salesforce-tables/845 "2024-07-12T17:02:10Z")

</div>

When materializing Salesforce tables, or views involving a Salesforce table, you may see the following error: Next Exception: ERROR: value too long for type character varying(50)0 The reason for this is a mismatc…

---

## ["invalid byte sequence" when writing from MySQL to PostgreSQL](https://community.cdata.com/t/invalid-byte-sequence-when-writing-from-mysql-to-postgresql/844)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:59pm UTC](https://community.cdata.com/t/invalid-byte-sequence-when-writing-from-mysql-to-postgresql/844 "2024-07-12T16:59:58Z")

</div>

When writing data to PostgreSQL from a MySQL source, e.g. when materializing a table or view, you may encounter the following error: TEIID30504 TEIID30020 Processing exception for request -8112269768431953610.-135883…

---

## [Where is my mongodb column?](https://community.cdata.com/t/where-is-my-mongodb-column/843)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:57pm UTC](https://community.cdata.com/t/where-is-my-mongodb-column/843 "2024-07-12T16:57:18Z")

</div>

You can’t find a column in your mongodb data source, but you think its there? Please check first, if it really exists. Please open your favorite MongoDB client and type the following to find “myElement” db.collection.…

---

## [Connecting and Querying OLAP](https://community.cdata.com/t/connecting-and-querying-olap/842)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:55pm UTC](https://community.cdata.com/t/connecting-and-querying-olap/842 "2024-07-12T16:55:02Z")

</div>

In this article, we’ll describe how to connect an OLAP cube and how to query it. Prerequisites Installed SSAS with a processed OLAP cube. To create an OLAP cube, you can use this tutorial, and Microsoft SQL Server Data…

---

## [Handle multi-valued XML paths](https://community.cdata.com/t/handle-multi-valued-xml-paths/841)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:51pm UTC](https://community.cdata.com/t/handle-multi-valued-xml-paths/841 "2024-07-12T16:51:42Z")

</div>

If you have an error like Unexpected multi-valued result was returned for XMLTable column ... you try to address a PATH in an XML document, that occurs multiple times. Example. Imagine you have this JSON document: …

---

## [Create Unix Timestamps](https://community.cdata.com/t/create-unix-timestamps/840)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:48pm UTC](https://community.cdata.com/t/create-unix-timestamps/840 "2024-07-12T16:48:44Z")

</div>

Creating a Unix timestamp for the current timestamp: SELECT TIMESTAMPDIFF(SQL\_TSI\_SECOND, FROM\_UNIXTIME(0), NOW());; Creating a Unix timestamp for any given date or timestamp: SELECT TIMESTAMPDIFF(SQL\_TS…

---

## [TEIID30020 Processing exception 'Element "foo.bar" is not defined by any relevant group.](https://community.cdata.com/t/teiid30020-processing-exception-element-foo-bar-is-not-defined-by-any-relevant-group/839)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:47pm UTC](https://community.cdata.com/t/teiid30020-processing-exception-element-foo-bar-is-not-defined-by-any-relevant-group/839 "2024-07-12T16:47:20Z")

</div>

This is an error which occurs if the given object cannot be found. Typical causes and Solutions are: Syntax error → correct the typo. The object was only temporary, like temporary tables → Use the query in combination …

---

## [DHL Track and Trace (Limits and API Documentation)](https://community.cdata.com/t/dhl-track-and-trace-limits-and-api-documentation/838)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:46pm UTC](https://community.cdata.com/t/dhl-track-and-trace-limits-and-api-documentation/838 "2024-07-12T16:46:18Z")

</div>

The following limitations are set by DHL and you have to ensure that your queries (especially subqueries) do not violate them. Otherwise, you will receive error messages from the server. The limitations are as follows : …

---

## [Find Enabled Recommended Optimizations Which Have No Schedule](https://community.cdata.com/t/find-enabled-recommended-optimizations-which-have-no-schedule/837)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:44pm UTC](https://community.cdata.com/t/find-enabled-recommended-optimizations-which-have-no-schedule/837 "2024-07-12T16:44:39Z")

</div>

When enabling optimizations, you might want to make sure that each optimization has at least one schedule. This ensures that optimizations are refreshed regularly in order to return recent data. For verifying that every…

---

## [Pass Key Value Pairs to a Procedure Using Multi-Dimensional Arrays](https://community.cdata.com/t/pass-key-value-pairs-to-a-procedure-using-multi-dimensional-arrays/836)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:40pm UTC](https://community.cdata.com/t/pass-key-value-pairs-to-a-procedure-using-multi-dimensional-arrays/836 "2024-07-12T16:40:18Z")

</div>

(A note: for passing variable number of parameteres into a stored procedure, you can also use the approach described here ) To pass key value pairs to a procedure, you can use multi-dimensional arrays - here’s an exampl…

---

## [Error message "Streaming result set com.mysql.jdbc.RowDataDynamic@XXXXXX is still active. ....."](https://community.cdata.com/t/error-message-streaming-result-set-com-mysql-jdbc-rowdatadynamic-xxxxxx-is-still-active/835)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:38pm UTC](https://community.cdata.com/t/error-message-streaming-result-set-com-mysql-jdbc-rowdatadynamic-xxxxxx-is-still-active/835 "2024-07-12T16:38:54Z")

</div>

The following error message “Streaming result set com.mysql.jdbc.RowDataDynamic@XXXXXX is still active. No statements may be issued when any streaming result sets are open and in use on a given connection. Ensure that yo…

---

## [Connecting SQuirreL via JDBC](https://community.cdata.com/t/connecting-squirrel-via-jdbc/834)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:37pm UTC](https://community.cdata.com/t/connecting-squirrel-via-jdbc/834 "2024-07-12T16:37:34Z")

</div>

Data Virtuality Suite contains a dedicated JDBC Driver in order to enable reporting tools and the Data Virtuality Studio to connect to the Data Virtuality Server using the JDBC protocol. Prior to using such BI tools, the…

---

## [Connecting Qlik via ODBC](https://community.cdata.com/t/connecting-qlik-via-odbc/833)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:32pm UTC](https://community.cdata.com/t/connecting-qlik-via-odbc/833 "2024-07-12T16:32:18Z")

</div>

This is a short guide on how to get data from Data Virtuality in Qlik. Please note that: Qlik uses Windows standard language settings; The ODBC- Driver Package from Data Virtuality must be installed up front; Qlik onl…

---

## [Connecting Excel via ODBC](https://community.cdata.com/t/connecting-excel-via-odbc/832)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:28pm UTC](https://community.cdata.com/t/connecting-excel-via-odbc/832 "2024-07-12T16:28:54Z")

</div>

This is a short introduction on how to connect Data Virtuality Server to MS Excel via an ODBC connection. It is important to you use matching Excel and driver. For example, if you have installed the 64 Bit ODBC driver, …

---

## [Connecting F# via ODBC](https://community.cdata.com/t/connecting-f-via-odbc/831)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:26pm UTC](https://community.cdata.com/t/connecting-f-via-odbc/831 "2024-07-12T16:26:02Z")

</div>

Motivation: This is a short example to demonstrate how to access Data Virtuality via an ODBC connection in F#. Please keep in mind that this is not an F#/.NET code and the sample just shows a basic approach for the ODBC…

---

## [CSV Export with FTP Upload](https://community.cdata.com/t/csv-export-with-ftp-upload/830)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:24pm UTC](https://community.cdata.com/t/csv-export-with-ftp-upload/830 "2024-07-12T16:24:51Z")

</div>

The following snippet can be used with Data Virtuality Server 2.0. We assume the the FTP / SFTP server is already used as a data source in Data Virtuality. Therefore we can use the FTP data source directly as the target…

---

## [Handling special characters in JSON keys during transformation](https://community.cdata.com/t/handling-special-characters-in-json-keys-during-transformation/829)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:22pm UTC](https://community.cdata.com/t/handling-special-characters-in-json-keys-during-transformation/829 "2024-07-12T16:22:39Z")

</div>

When transforming JSON documents into a tabular format, you might stumble upon certain keys that produce an error message. This document is valid JSON, but generates an error, such as “XPath syntax error at char 0 in …

---

## [Switching the Internal Configuration Database to PostgreSQL](https://community.cdata.com/t/switching-the-internal-configuration-database-to-postgresql/828)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:21pm UTC](https://community.cdata.com/t/switching-the-internal-configuration-database-to-postgresql/828 "2024-07-12T16:21:05Z")

</div>

The following changes are only mandatory for Data Virtuality Server versions \<= 2.1.5. Any later version comes with an embedded PostgreSQL configuration database by default and no changes are needed. Data Virtuality use…

---

## [Forcing MySQL table charset to UTF-8](https://community.cdata.com/t/forcing-mysql-table-charset-to-utf-8/827)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:18pm UTC](https://community.cdata.com/t/forcing-mysql-table-charset-to-utf-8/827 "2024-07-12T16:18:40Z")

</div>

When creating tables in MySQL through Data Virtuality (e.g. when using MySQL as analytical storage) the charset of newly created tables will depend on the locale of your Java Virtual Machine (JVM). In some cases, this m…

---

## [Replicating MySQL tables with binary columns](https://community.cdata.com/t/replicating-mysql-tables-with-binary-columns/826)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:16pm UTC](https://community.cdata.com/t/replicating-mysql-tables-with-binary-columns/826 "2024-07-12T16:16:39Z")

</div>

When replicating tables from a MySQL data source you may run into the following error message: column “order\_details” is of type bytea but expression is of type bigint. Looking at the data type of the order\_details colu…

---

## [Using TEXTTABLE to Implement SPLIT / SPLIT\_PART](https://community.cdata.com/t/using-texttable-to-implement-split-split-part/825)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:15pm UTC](https://community.cdata.com/t/using-texttable-to-implement-split-split-part/825 "2024-07-12T16:15:08Z")

</div>

Can I split large strings into columns based on a delimiter? This can be done using the TEXTTABLE construct which has to be placed within a FROM clause. Show me how Working with a fixed string SELECT a.\*FROM TEXTTAB…

---

## [Cannot add batch to invalidated cache group "X.Y.Z" or Batch not found in storage "nnnnnnnnn"](https://community.cdata.com/t/cannot-add-batch-to-invalidated-cache-group-x-y-z-or-batch-not-found-in-storage-nnnnnnnnn/824)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:13pm UTC](https://community.cdata.com/t/cannot-add-batch-to-invalidated-cache-group-x-y-z-or-batch-not-found-in-storage-nnnnnnnnn/824 "2024-07-12T16:13:17Z")

</div>

Why am I seeing this error? Data Virtuality uses a part of the disk space in order to temporarily store specific types of data which either cannot or should not be kept in-memory. This relates mostly to data of type XM…

---

## [PostgreSQL: "conflict with recovery" error message](https://community.cdata.com/t/postgresql-conflict-with-recovery-error-message/823)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:10pm UTC](https://community.cdata.com/t/postgresql-conflict-with-recovery-error-message/823 "2024-07-12T16:10:28Z")

</div>

This article should help address error messages such as “PSQLException-ERROR: canceling statement due to conflict with recovery” or "FATAL: terminating connection due to conflict with recovery Detail: User query might ha…

---

## [Changing Directory of Temp Folder](https://community.cdata.com/t/changing-directory-of-temp-folder/822)

<div class="topic-metadata">

**Author:** [@anonymous](https://community.cdata.com/u/anonymous)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 4:08pm UTC](https://community.cdata.com/t/changing-directory-of-temp-folder/822 "2024-07-12T16:08:36Z")

</div>

The article provides the information needed to change the location of your Data Virtuality server temp folder. By default the location is …/dvserver/standalone/tmp. In order to change the location, you will have to adj…

[Previous page](https://community.cdata.com/c/archives/12.md)

[Next page](https://community.cdata.com/c/archives/12.md?page=2)
