在 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