Fix the RE-SQL generation for GreenPlum external tables. Fixes #3431

This commit is contained in:
Joao Pedro De Almeida Pereira
2018-06-19 20:01:45 -04:00
committed by Dave Page
parent 7a06acb678
commit 155f82676d
2 changed files with 3 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ OPTIONS (
)
{% endif %}
ENCODING '{{ table.pgEncodingToChar }}'
{% if table.rejectLimit and table.rejectLimit|length > 0 %}
{% if table.rejectLimit and table.rejectLimit > 0 %}
{% if table.errorTableName and table.errorTableName|length > 0 %}
LOG ERRORS {% endif %}SEGMENT REJECT LIMIT {{ table.rejectLimit }} {{ rejectionLimit }}
{% endif %}