Skip to content

Commit

Permalink
Update kafka docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nezihyigitbasi committed Jan 7, 2019
1 parent 03df34f commit 93f7571
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions presto-docs/src/main/sphinx/connector/kafka.rst
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,12 @@ The CSV decoder converts the bytes representing a message or key into a
string using UTF-8 encoding and then interprets the result as a CSV
(comma-separated value) line.

For fields, the ``type`` and ``mapping`` attributes must be defined.
``dataFormat and ``formatHint`` are not supported and must be omitted.
For fields, the ``type`` and ``mapping`` attributes must be defined:

* ``type`` - Presto data type (see table below for list of supported data types)
* ``mapping`` - the index of the field in the CSV record

``dataFormat`` and ``formatHint`` are not supported and must be omitted.

Table below lists supported Presto types which can be used in ``type`` and decoding scheme:

Expand Down

0 comments on commit 93f7571

Please sign in to comment.