在下面给出的示例中,最后一行没有上传。我收到一个错误:
Data between close double quote (") and field separator:
这看起来像一个错误,因为管道符号之间的所有数据都应该被视为一个字段。
架构:一:字符串,二:字符串,三:字符串,四:字符串
上传文件:
This | is | test only | to check quotes
second | line | "with quotes" | no text
third line | with | "start quote" and | a word after quotes
处理上面的第一行和第二行。但不是第三个。
更新:
有人可以解释为什么除了第三行之外以下工作?
This | is | test only | to check quotes
second | line | "with quotes" | no text
third line | with | "start quote" and | a word after quotes
forth line | enclosed | {"GPRS","MCC_DETECTED":false,"MNC_DETECTED":false} | how does this work?
fifth line | with | {"start quote"} and | a word after quotes
对此可以有一些花哨的解释。从最终用户的角度来看,这是荒谬的。