# PIPELINE SKIP PARSER ERRORS with JSON

**URL:** <https://www.singlestore.com/forum/t/pipeline-skip-parser-errors-with-json/2794>\
**Category:** Connectors and Pipelines\
**Tags:** pipelines\
**Created:** [March 3, 2021, 8:52am UTC](https://www.singlestore.com/forum/t/pipeline-skip-parser-errors-with-json/2794 "2021-03-03T08:52:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jisung.park](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/j/bc79bd/32.png) [@jisung.park](https://www.singlestore.com/forum/u/jisung.park)\
**Post date:** [March 3, 2021, 8:52am UTC](https://www.singlestore.com/forum/t/pipeline-skip-parser-errors-with-json/2794/1 "2021-03-03T08:52:28Z")

</div>

CREATE PIPELINE `pipe_json` AS  
LOAD DATA KAFKA ‘…’  
SKIP PARSER ERRORS  
INTO TABLE `comment`  
(  
…  
)  
FORMAT json

When creating a PIPELINE, an error occurs as follows.

- SQL Error [1706] [HY000]: Feature ‘SKIP PARSER ERRORS with FORMAT JSON’ is not supported by MemSQL.

Tell me if you are planning to support FROMAT JSON for SKIP PARASER ERRORS.  
Instead of SKIP PARASER ERRORS, tell me how to ignore the PIPELINE error data and read the following data.

---

<div class="post-metadata">

**Author:** ![sasha](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/s/54ee81/32.png) [@sasha](https://www.singlestore.com/forum/u/sasha)\
**Post date:** [March 5, 2021, 8:59pm UTC](https://www.singlestore.com/forum/t/pipeline-skip-parser-errors-with-json/2794/2 "2021-03-05T20:59:53Z")

</div>

There are no plans to support SKIP PARSER ERRORS with JSON. That mode is supported only for CSV, in which case it causes us to attempt to recover after discovering that the input data is in some sense invalid CSV, as far as we’re concerned.

Do you indeed want the pipeline to attempt to keep loading after hitting malformed JSON, or are you perhaps more interested in “non-parser” errors, e.g. with the SKIP DUPLICATE KEY ERRORS or SKIP CONSTRAINT ERRORS clauses?

In the first case, the best option is likely to set the global variable `pipelines_stop_on_error` to false. That will make it so that if pipelines hit a parser error, they’ll output an error to information\_schema.pipelines\_errors, skip the problematic file, and then continue loading from the next file.

---

<div class="post-metadata">

**Author:** ![jisung.park](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/j/bc79bd/32.png) [@jisung.park](https://www.singlestore.com/forum/u/jisung.park)\
**Post date:** [March 8, 2021, 5:43am UTC](https://www.singlestore.com/forum/t/pipeline-skip-parser-errors-with-json/2794/3 "2021-03-08T05:43:46Z")

</div>

Is there any way to perform the rest of the data normally except for the error data in one batch?

---

<div class="post-metadata">

**Author:** ![maximg](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/m/ce7236/32.png) [@maximg](https://www.singlestore.com/forum/u/maximg)\
**Post date:** [November 15, 2022, 11:42am UTC](https://www.singlestore.com/forum/t/pipeline-skip-parser-errors-with-json/2794/5 "2022-11-15T11:42:47Z")

</div>

I have the same problem. Would also like to know whether there’s a way.
