0

在 Hive 中创建表时:

使用serdeproperties ( "
input.regex " = " ([^ ]) - - [([^]]+)] \"([^ ]) ([^ ]) ([^ \"])\")?" "output.format.string" = "%1$s %2$s %3$s %4$s %5$s" ) 存储为文本文件;


我收到一个错误:

ERROR:FAILED: Parse Error: line 5:0 mismatched input '"output.format.string"' expecting ) near '"  ([^ ]) - - [([^]]+)] \"([^ ]) ([^ ]) ([^ \"])\")?"' in table properties

TABLE DATA: 10.22.17.186 - - [15/Aug/2009:15:50:35 -0700] "GET /assets/css/the-associates.css HTTP/1.1" 200 15779
4

1 回答 1

0

尝试遵循输入正则表达式?

'input.regex' = ' ([^ ]) - - [([^]]+)] "([^ ]) ([^ ]) ([^ "])")?'
于 2013-10-25T11:12:12.603 回答