Suzhou High-end user file processing

Source: Internet
Author: User

Cat User6.csv|awk ' begin{fs= ', "; ofs=" | "} {print $1,$2} ' >user_consu6.csvcat Consu6.csv|awk ' begin{fs= "|"; O Fs= "|"} {if ($ <=5) print $} ' >user_consu6.csv sed ' s/\./|/g ' user_consu6.csv>user6.csv


CREATE TABLE User_comsu6 (

MDN Char (18),

Chag_earn decimal (6,2))

Load Table User_comsu6 (

Mdn ' | ',

Chag_earn 0x0a)

Using file '/XWTEC210/DATA/WLAN/USER060AA '

Escapes off

Quotes off

Go

Cat User7.csv|awk ' begin{fs= "|"; O Fs= "|"} {print $1,$2} ' >user_consu7.csvcat Consu7.csv|awk ' begin{fs= "|"; O Fs= "|"} {if ($ <=5) print $} ' >user_consu7.csvsed ' s/\./|/g ' user7.csv>user_consu7.csv


CREATE TABLE User_comsu7 (

MDN Char (18),

Chag_earn decimal (6,2))

Load Table User_comsu7 (

Mdn ' | ',

Chag_earn 0x0a)

Using file '/xwtec210/data/wlan/consu7.csv '

Escapes off

Quotes off

Go


Suzhou High-end user file processing

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.