Hive Programming Guide--employees table data definition

Source: Internet
Author: User

There is a employees table in the Hive Programming Guide, the default delimiter is cumbersome, the editing is not very convenient (the general editor of the control character ^a, etc. is treated as a string, does not play the role of delimiters). The following solutions are collected:

Http://www.myexception.cn/software-architecture-design/1351552.html

http://blog.csdn.net/lichangzai/article/details/18703971


Remember, the simple text editor edits the following, the delimiter is not recognized, ^A^B^C will be treated as a string, import data in hive will not recognize the delimiter, causing some fields to display null

John doe^a100000.0^amary smith^btodd jones^afederal taxes^c.2^bstatetaxes^c.05^binsurance^c.1^a1 Michigan Ave.^ bchicago^bil^b60600
Mary smith^a80000.0^abill king^afederal taxes^c.2^bstate taxes^c.05^binsurance^c.1^a100 Ontario St.^BChicago^BIL^ B60601
Todd jones^a70000.0^afederaltaxes^c.15^bstate taxes^c.03^binsurance^c.1^a200 Chicago ave.^boak Park^BIL^B60700
Bill king^a60000.0^afederal taxes^c.15^bstate taxes^c.03^binsurance^c.1^a300 obscure Dr.^BObscuria^BIL^B60100

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Hive Programming Guide--employees table data definition

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.