# Connectors and Pipelines

**URL:** https://www.singlestore.com/forum/c/support/connectors-and-pipelines/15.md?page=2

[Latest](https://www.singlestore.com/forum/latest.md) · [Categories](https://www.singlestore.com/forum/categories.md) · [Tags](https://www.singlestore.com/forum/tags.md)

**Page:** 3

---

## [Error trying using spark-connector with pyspark](https://www.singlestore.com/forum/t/error-trying-using-spark-connector-with-pyspark/5688)

<div class="topic-metadata">

**Author:** [@fredy.velasquez](https://www.singlestore.com/forum/u/fredy.velasquez)\
**Replies:** 2\
**Last updated:** [September 30, 2022, 3:02pm UTC](https://www.singlestore.com/forum/t/error-trying-using-spark-connector-with-pyspark/5688 "2022-09-30T15:02:16Z")

</div>

Hello, I have been trying to write to singlestore with the spark connector for several days, I have downloaded and compiled the spartk jdbc and loaded it to the java classpath, I have installed the spark connector with t…

---

## [Pipeline error handling](https://www.singlestore.com/forum/t/pipeline-error-handling/5645)

<div class="topic-metadata">

**Author:** [@ira](https://www.singlestore.com/forum/u/ira)\
**Replies:** 2\
**Last updated:** [September 28, 2022, 6:35am UTC](https://www.singlestore.com/forum/t/pipeline-error-handling/5645 "2022-09-28T06:35:43Z")

</div>

It’s impossible to create pipeline with ERRORS HANDLE: CREATE OR REPLACE PIPELINE pp\_name AS LOAD DATA LINK MY\_S3\_LINK ‘bucket/dir/\*.txt’ SKIP ALL ERRORS INTO TABLE tbl(col1, col2) FIELDS TERMINATED BY ‘\\t’ LINES T…

---

## [Kafka pipeline - accessing message metadata (partitions, offset)](https://www.singlestore.com/forum/t/kafka-pipeline-accessing-message-metadata-partitions-offset/4278)

<div class="topic-metadata">

**Author:** [@yarden](https://www.singlestore.com/forum/u/yarden)\
**Replies:** 4\
**Last updated:** [September 19, 2022, 4:36pm UTC](https://www.singlestore.com/forum/t/kafka-pipeline-accessing-message-metadata-partitions-offset/4278 "2022-09-19T16:36:58Z")

</div>

Hey, when using kafka pipeline into stored procedure, is there a way to get each message partition or offset, and insert it into the target table? thanks

---

## [MemSQL Pipeline error extracting data from Kafka(\\)](https://www.singlestore.com/forum/t/memsql-pipeline-error-extracting-data-from-kafka/2427)

<div class="topic-metadata">

**Author:** [@hyun.wee](https://www.singlestore.com/forum/u/hyun.wee)\
**Replies:** 2\
**Last updated:** [October 14, 2020, 7:07am UTC](https://www.singlestore.com/forum/t/memsql-pipeline-error-extracting-data-from-kafka/2427 "2020-10-14T07:07:32Z")

</div>

To replace Elasticsearch, I am conducting a test to collect Json data using Kafka PIPELINE function in MemSQL. When trying to load kafka’s topic data into MemSQL, Pipeline stopped when an error occurred “Invalid JSON val…

---

## [Azure pipelines - "1970, 'Leaf Error: Subprocess timed out'"](https://www.singlestore.com/forum/t/azure-pipelines-1970-leaf-error-subprocess-timed-out/1653)

<div class="topic-metadata">

**Author:** [@chen](https://www.singlestore.com/forum/u/chen)\
**Replies:** 2\
**Last updated:** [March 1, 2020, 7:10am UTC](https://www.singlestore.com/forum/t/azure-pipelines-1970-leaf-error-subprocess-timed-out/1653 "2020-03-01T07:10:25Z")

</div>

Hi Team, I get the following error in 2 out of 8 leaves when trying to start Azure pipeline: (1970, 'Leaf Error (172.16.0.11:3306): Leaf Error (172.16.0.10:3306): Subprocess timed out. Truncated stderr:\\n') I looked …

---

## [Processing CDC events from KAFKA to SingleStore](https://www.singlestore.com/forum/t/processing-cdc-events-from-kafka-to-singlestore/4995)

<div class="topic-metadata">

**Author:** [@naga.s](https://www.singlestore.com/forum/u/naga.s)\
**Replies:** 2\
**Last updated:** [September 8, 2022, 6:34am UTC](https://www.singlestore.com/forum/t/processing-cdc-events-from-kafka-to-singlestore/4995 "2022-09-08T06:34:39Z")

</div>

Dear Team, We have requirement to load the CDC events from source to KAFKA(it can be using GG/HVR etc) and from KAFKA to SingleStore. Please could you confirm, How to process the CDC events from KAFKA topics to Singl…

---

## [We want to utilize CREATE \[OR REPLACE\] EXTERNAL FUNCTION to call a REST API](https://www.singlestore.com/forum/t/we-want-to-utilize-create-or-replace-external-function-to-call-a-rest-api/4858)

<div class="topic-metadata">

**Author:** [@prakash.n.gour](https://www.singlestore.com/forum/u/prakash.n.gour)\
**Replies:** 14\
**Last updated:** [August 25, 2022, 10:12pm UTC](https://www.singlestore.com/forum/t/we-want-to-utilize-create-or-replace-external-function-to-call-a-rest-api/4858 "2022-08-25T22:12:59Z")

</div>

Hi Team, We would like to invoke an external service from Singlestore StoredProcedure and exploring External Function feature but in docs it says - “CREATE \[OR REPLACE\] EXTERNAL FUNCTION\` is currently a private preview…

---

## [Stream data out from Memsql to kafka topic](https://www.singlestore.com/forum/t/stream-data-out-from-memsql-to-kafka-topic/1360)

<div class="topic-metadata">

**Author:** [@sangrambhojane](https://www.singlestore.com/forum/u/sangrambhojane)\
**Replies:** 5\
**Last updated:** [May 19, 2020, 7:06pm UTC](https://www.singlestore.com/forum/t/stream-data-out-from-memsql-to-kafka-topic/1360 "2020-05-19T19:06:55Z")

</div>

Hey Team, I am new to using memSQL with kafka. I am clear about injesting data from kafka topic via memSQL pipeline, but I would like to know if we can do viceversa (i.e. stream out data from memSQL to kafka topic via p…

---

## [Spark-connector run error](https://www.singlestore.com/forum/t/spark-connector-run-error/1626)

<div class="topic-metadata">

**Author:** [@juoon](https://www.singlestore.com/forum/u/juoon)\
**Replies:** 1\
**Last updated:** [April 3, 2020, 11:48pm UTC](https://www.singlestore.com/forum/t/spark-connector-run-error/1626 "2020-04-03T23:48:21Z")

</div>

i use spark-connector like this in spark-streaming appliction: kafkaDirectStream.foreachRDD(rdd =\> { try { if (!rdd.isEmpty) { val rowRdds = rdd.mapPartitions(partitions =\> { partitio…

---

## [Connect with Oracle DB](https://www.singlestore.com/forum/t/connect-with-oracle-db/4822)

<div class="topic-metadata">

**Author:** [@ankit.tiwary](https://www.singlestore.com/forum/u/ankit.tiwary)\
**Replies:** 2\
**Last updated:** [August 17, 2022, 9:22am UTC](https://www.singlestore.com/forum/t/connect-with-oracle-db/4822 "2022-08-17T09:22:32Z")

</div>

Is there a way to connect with Oracle DB from SingleStore?

---

## [JSON parse errors in pipeline](https://www.singlestore.com/forum/t/json-parse-errors-in-pipeline/4371)

<div class="topic-metadata">

**Author:** [@smargareto](https://www.singlestore.com/forum/u/smargareto)\
**Replies:** 1\
**Last updated:** [April 27, 2022, 3:43pm UTC](https://www.singlestore.com/forum/t/json-parse-errors-in-pipeline/4371 "2022-04-27T15:43:57Z")

</div>

Hi, We’re ingesting JSON formatted data from kafka with a pipeline. Is there a way to protect from parsing errors? A malformed message causes start pipeline sm\_filtering\_accesses\_pipeline foreground ERROR 2328 ER\_REPL…

---

## [How can I import a sql db to memsql (using docker and MemSQL “Cluster in a Box”)?](https://www.singlestore.com/forum/t/how-can-i-import-a-sql-db-to-memsql-using-docker-and-memsql-cluster-in-a-box/380)

<div class="topic-metadata">

**Author:** [@std104531](https://www.singlestore.com/forum/u/std104531)\
**Replies:** 9\
**Last updated:** [March 10, 2019, 8:03pm UTC](https://www.singlestore.com/forum/t/how-can-i-import-a-sql-db-to-memsql-using-docker-and-memsql-cluster-in-a-box/380 "2019-03-10T20:03:51Z")

</div>

I want to import a sql dump file (db schema and data) using docker and MemSQL “Cluster in a Box”. From Windows PowerShell I tried the following command: mysql --host=localhost --user=root --port=3307 --database=DB\_NAME…

---

## [Kafak brokers are not rechable from the memsql ops in windows machine?](https://www.singlestore.com/forum/t/kafak-brokers-are-not-rechable-from-the-memsql-ops-in-windows-machine/4845)

<div class="topic-metadata">

**Author:** [@smartdnshail1](https://www.singlestore.com/forum/u/smartdnshail1)\
**Replies:** 1\
**Last updated:** [August 8, 2022, 10:16pm UTC](https://www.singlestore.com/forum/t/kafak-brokers-are-not-rechable-from-the-memsql-ops-in-windows-machine/4845 "2022-08-08T22:16:42Z")

</div>

While i’m connecting memsql to kafka using Docker… I’m unable to fetch the data that i’m pushed into kafka topic… I’m getting error like ERROR 1933 ER\_EXTRACTOR\_EXTRACTOR\_GET\_LATEST\_OFFSETS: Cannot get source metadata …

---

## [UTF-8mb4 - Pipeline processing](https://www.singlestore.com/forum/t/utf-8mb4-pipeline-processing/4807)

<div class="topic-metadata">

**Author:** [@baskar.sks](https://www.singlestore.com/forum/u/baskar.sks)\
**Replies:** 3\
**Last updated:** [August 8, 2022, 2:04pm UTC](https://www.singlestore.com/forum/t/utf-8mb4-pipeline-processing/4807 "2022-08-08T14:04:25Z")

</div>

Hi, The singlestore version we have is 7.8.4. We are using singlestore pipeline to consume data directly from kafka and executing SP to process and store the data into tables. The incoming kafka message might have spe…

---

## [What are the supported Connection String properties for MemSQL?](https://www.singlestore.com/forum/t/what-are-the-supported-connection-string-properties-for-memsql/4759)

<div class="topic-metadata">

**Author:** [@smartdnshail1](https://www.singlestore.com/forum/u/smartdnshail1)\
**Replies:** 2\
**Last updated:** [August 4, 2022, 6:35pm UTC](https://www.singlestore.com/forum/t/what-are-the-supported-connection-string-properties-for-memsql/4759 "2022-08-04T18:35:30Z")

</div>

What are the supported Connection String properties for MemSQL?

---

## [S3 csv pipeline randomly fails with code 416 but then reads the same files right - reason?](https://www.singlestore.com/forum/t/s3-csv-pipeline-randomly-fails-with-code-416-but-then-reads-the-same-files-right-reason/4817)

<div class="topic-metadata">

**Author:** [@ira](https://www.singlestore.com/forum/u/ira)\
**Replies:** 7\
**Last updated:** [August 3, 2022, 11:08pm UTC](https://www.singlestore.com/forum/t/s3-csv-pipeline-randomly-fails-with-code-416-but-then-reads-the-same-files-right-reason/4817 "2022-08-03T23:08:34Z")

</div>

Pipelines with source S3 reads files in csv format and randomly fails with message “Cannot extract data for pipeline. InvalidRange: The requested range is not satisfiable status code: 416, request id: …, host id: …” W…

---

## [Running into a bit of an issue when creating pipelines:](https://www.singlestore.com/forum/t/running-into-a-bit-of-an-issue-when-creating-pipelines/4809)

<div class="topic-metadata">

**Author:** [@smartdnshail1](https://www.singlestore.com/forum/u/smartdnshail1)\
**Replies:** 1\
**Last updated:** [August 1, 2022, 11:19pm UTC](https://www.singlestore.com/forum/t/running-into-a-bit-of-an-issue-when-creating-pipelines/4809 "2022-08-01T23:19:23Z")

</div>

CREATE PIPELINE library AS LOAD DATA S3 ‘’ CONFIG ‘{“region”: “eu-west-1”}’ CREDENTIALS ‘{“aws\_access\_key\_id”: “”, “aws\_secret\_access\_key”: “”}’ INTO TABLE test FIELDS TERMINATED BY ‘,’; ERROR 1970 ER\_SUBPROCESS\_TIMEOUT…

---

## [Ingesting Partitioned Parquet data from pipeline](https://www.singlestore.com/forum/t/ingesting-partitioned-parquet-data-from-pipeline/2766)

<div class="topic-metadata">

**Author:** [@kshastry](https://www.singlestore.com/forum/u/kshastry)\
**Replies:** 3\
**Last updated:** [August 1, 2022, 10:04am UTC](https://www.singlestore.com/forum/t/ingesting-partitioned-parquet-data-from-pipeline/2766 "2022-08-01T10:04:18Z")

</div>

Pipeline is not reading data from partitioned Parquet files

---

## [How to write into a AVRO format Kafka topic using SELECT INTO KAFA clause](https://www.singlestore.com/forum/t/how-to-write-into-a-avro-format-kafka-topic-using-select-into-kafa-clause/4699)

<div class="topic-metadata">

**Author:** [@AiwaOk](https://www.singlestore.com/forum/u/AiwaOk)\
**Replies:** 5\
**Last updated:** [July 31, 2022, 11:31am UTC](https://www.singlestore.com/forum/t/how-to-write-into-a-avro-format-kafka-topic-using-select-into-kafa-clause/4699 "2022-07-31T11:31:48Z")

</div>

Hi, We have a topic defined schema in AVRO format. When we write into it via single store using SELECT INTO KAFKA clause, it put all value in one column names “Value”. But we want to put values in seperate columns. Pe…

---

## [Pipeline performance](https://www.singlestore.com/forum/t/pipeline-performance/4791)

<div class="topic-metadata">

**Author:** [@vishwajeetdabholkar](https://www.singlestore.com/forum/u/vishwajeetdabholkar)\
**Replies:** 1\
**Last updated:** [July 26, 2022, 2:36pm UTC](https://www.singlestore.com/forum/t/pipeline-performance/4791 "2022-07-26T14:36:44Z")

</div>

Hey there, has anyone done a pipeline functionality test recently ? Like have you tried ingesting 1 million rows from S3 to singlestore?? it can be any source… but could you please just share configuration and speed t…

---

## [Null resultset on Select query with string input](https://www.singlestore.com/forum/t/null-resultset-on-select-query-with-string-input/4777)

<div class="topic-metadata">

**Author:** [@xixec88598](https://www.singlestore.com/forum/u/xixec88598)\
**Replies:** 2\
**Last updated:** [July 25, 2022, 10:03pm UTC](https://www.singlestore.com/forum/t/null-resultset-on-select-query-with-string-input/4777 "2022-07-25T22:03:31Z")

</div>

I’m sending a select query using jdbc with string input, there is no resultset, it is null. But the same query is working fine in sql editor And it is also working with column name as input in jdbc. Kindly support on …

---

## [Getting smaller dataset of TPC-H using pipelines](https://www.singlestore.com/forum/t/getting-smaller-dataset-of-tpc-h-using-pipelines/4720)

<div class="topic-metadata">

**Author:** [@jkricej](https://www.singlestore.com/forum/u/jkricej)\
**Replies:** 9\
**Last updated:** [July 20, 2022, 12:34am UTC](https://www.singlestore.com/forum/t/getting-smaller-dataset-of-tpc-h-using-pipelines/4720 "2022-07-20T00:34:40Z")

</div>

Is there a chance that the TPC-H dataset sf\_10 is available at the same S3 Bucket? \`\`\` CREATE OR REPLACE PIPELINE tpch\_100\_orders AS LOAD DATA S3 ‘memsql-tpch-dataset/sf\_100/orders/’ (replacing sf\_100 with sf\_10) conf…

---

## [How to unload data from MEMSQL to S3](https://www.singlestore.com/forum/t/how-to-unload-data-from-memsql-to-s3/1559)

<div class="topic-metadata">

**Author:** [@rjsv](https://www.singlestore.com/forum/u/rjsv)\
**Replies:** 12\
**Last updated:** [July 14, 2022, 4:46pm UTC](https://www.singlestore.com/forum/t/how-to-unload-data-from-memsql-to-s3/1559 "2022-07-14T16:46:52Z")

</div>

We will have all processed data in the MEMSQL database. We are using the MEMSQL to store our analytics data. Guide us how to unload MEMSQL tables data into Amazon S3 in csv or parquet file format.

---

## [Cannot get source metadata for pipeline. Failed to create consumer: ssl.ca.location failed: No further error information available](https://www.singlestore.com/forum/t/cannot-get-source-metadata-for-pipeline-failed-to-create-consumer-ssl-ca-location-failed-no-further-error-information-available/4676)

<div class="topic-metadata">

**Author:** [@rishidhariwal.14](https://www.singlestore.com/forum/u/rishidhariwal.14)\
**Replies:** 1\
**Last updated:** [July 1, 2022, 2:45am UTC](https://www.singlestore.com/forum/t/cannot-get-source-metadata-for-pipeline-failed-to-create-consumer-ssl-ca-location-failed-no-further-error-information-available/4676 "2022-07-01T02:45:20Z")

</div>

Hey Team, below is the command that i am using, but when i create the kafka pipeline command i get the below error: ERROR 1933 ER\_EXTRACTOR\_EXTRACTOR\_GET\_LATEST\_OFFSETS: Cannot get source metadata for pipeline. Failed t…

---

## [Using SingleStore Kafka Pipeline and Procedure to insert nested Json data to two Tables](https://www.singlestore.com/forum/t/using-singlestore-kafka-pipeline-and-procedure-to-insert-nested-json-data-to-two-tables/4714)

<div class="topic-metadata">

**Author:** [@anilvivekabhi](https://www.singlestore.com/forum/u/anilvivekabhi)\
**Replies:** 2\
**Last updated:** [June 28, 2022, 4:45pm UTC](https://www.singlestore.com/forum/t/using-singlestore-kafka-pipeline-and-procedure-to-insert-nested-json-data-to-two-tables/4714 "2022-06-28T16:45:30Z")

</div>

I am sending this data to a kafka topic. { “id”: 3, “name”: “abhi”, “houseName”: “xyz”, “visitorId”: \[ 821494, 821551, 844766 \] } I want this data to go to two different table. people and visitor. uqh1 = CON…

---

## [GCS Pipeline - Randomly getting AWS request failed: NotFound: Not Found](https://www.singlestore.com/forum/t/gcs-pipeline-randomly-getting-aws-request-failed-notfound-not-found/2767)

<div class="topic-metadata">

**Author:** [@moralez.rodrigo](https://www.singlestore.com/forum/u/moralez.rodrigo)\
**Replies:** 1\
**Last updated:** [June 20, 2022, 1:58pm UTC](https://www.singlestore.com/forum/t/gcs-pipeline-randomly-getting-aws-request-failed-notfound-not-found/2767 "2022-06-20T13:58:10Z")

</div>

After a few days of running the pipeline just stop with the following error in GCS. We are using the latest version 7.3.3. It seems that it started to happen after we upgraded the version. To fix this we drop and recrea…

---

## [ERROR 1970 ER\_SUBPROCESS\_TIMEOUT\_ERROR: Subprocess timed out when creating a pipeline](https://www.singlestore.com/forum/t/error-1970-er-subprocess-timeout-error-subprocess-timed-out-when-creating-a-pipeline/371)

<div class="topic-metadata">

**Author:** [@maxpagels](https://www.singlestore.com/forum/u/maxpagels)\
**Replies:** 13\
**Last updated:** [June 20, 2022, 9:03am UTC](https://www.singlestore.com/forum/t/error-1970-er-subprocess-timeout-error-subprocess-timed-out-when-creating-a-pipeline/371 "2022-06-20T09:03:36Z")

</div>

Running into a bit of an issue when creating pipelines: ERROR 1970 ER\_SUBPROCESS\_TIMEOUT\_ERROR: Subprocess timed out. Truncated stderr: Upon failure, the command.log on the aggregator says: 1958097856 2019-02-05 09:58…

---

## [Parallel Read using singlestore spark connector](https://www.singlestore.com/forum/t/parallel-read-using-singlestore-spark-connector/4655)

<div class="topic-metadata">

**Author:** [@sairohith2012](https://www.singlestore.com/forum/u/sairohith2012)\
**Replies:** 2\
**Last updated:** [June 9, 2022, 4:06am UTC](https://www.singlestore.com/forum/t/parallel-read-using-singlestore-spark-connector/4655 "2022-06-09T04:06:23Z")

</div>

I am exploring options to do parallel read using singlestore spark connector, when I use the forced option, the spark job frequently fails as it starts before the min. number of executors to do parallel read are met. Hen…

---

## [Is there a way to read the output of a SQL query into pyspark using Singlestore-spark connector?](https://www.singlestore.com/forum/t/is-there-a-way-to-read-the-output-of-a-sql-query-into-pyspark-using-singlestore-spark-connector/4505)

<div class="topic-metadata">

**Author:** [@swayam.nanda](https://www.singlestore.com/forum/u/swayam.nanda)\
**Replies:** 1\
**Last updated:** [June 7, 2022, 6:32pm UTC](https://www.singlestore.com/forum/t/is-there-a-way-to-read-the-output-of-a-sql-query-into-pyspark-using-singlestore-spark-connector/4505 "2022-06-07T18:32:42Z")

</div>

Hi, I was wondering if there is a way to read the result of an SQL into a pyspark DataFrame using Singlestore-spark connector ? The SQL is going to have multiple joins. Can it be done using datable or query options ?

---

## [CSV datetime string to DateTime field using Pipeline](https://www.singlestore.com/forum/t/csv-datetime-string-to-datetime-field-using-pipeline/4516)

<div class="topic-metadata">

**Author:** [@manoj](https://www.singlestore.com/forum/u/manoj)\
**Replies:** 9\
**Last updated:** [May 28, 2022, 2:20pm UTC](https://www.singlestore.com/forum/t/csv-datetime-string-to-datetime-field-using-pipeline/4516 "2022-05-28T14:20:19Z")

</div>

After 2 days of many permutations trying to solve a simple data load I think I may get better success on this forum. I have a DateTime field in my Columnstore table. I am trying to import 1 row of data via a pipeline. H…

[Previous page](https://www.singlestore.com/forum/c/support/connectors-and-pipelines/15.md?page=1)

[Next page](https://www.singlestore.com/forum/c/support/connectors-and-pipelines/15.md?page=3)
