Github user VikingK commented on the issue:

    https://github.com/apache/nifi/pull/3057
  
    @mattyb149 I checked out the new backtick ddl patch you applied. Its seems 
it only backticks the complex data structures, the "top" level ones are for 
example not ticked.
    For example ProductId,Items,PropertyMap,Serial and Metadata should be 
backticked as well to protect from bad names.
    ```
    hive.ddl
    CREATE EXTERNAL TABLE IF NOT EXISTS Sales (ProductId INT, Items 
ARRAY<STRUCT<`DNumber`:INT, `NSales`:BIGINT>>, PropertyMap MAP<STRING, STRING>, 
Serial STRUCT<`Serial`:BIGINT, `Date`:TIMESTAMP, `SystemId`:BIGINT, `T`:BIGINT, 
`IncludeStartTx`:BOOLEAN>, Metadata STRUCT<`AvroTs`:TIMESTAMP>) STORED AS ORC
    ```


---

Reply via email to