“数据清洗,抽取”的版本间的差异

来自CloudWiki
跳转至: 导航搜索
(创建页面,内容为“ == 建表语句 == create database 库名; create table test3( ListingKey string , ListingNumber int, ListingCreationDate TIMESTAMP, CreditGrade string, Term int, L…”)
 
建表语句
第1行: 第1行:
  
 
== 建表语句 ==
 
== 建表语句 ==
create database 库名;
+
建库
 +
 
 +
'''create database 库名;'''
 +
 
 +
建表
 +
 
 
create table test3(
 
create table test3(
 
ListingKey string ,
 
ListingKey string ,

2020年11月12日 (四) 13:51的版本

建表语句

建库

create database 库名;

建表

create table test3( ListingKey string , ListingNumber int, ListingCreationDate TIMESTAMP, CreditGrade string, Term int, LoanStatus string, ClosedDate TIMESTAMP, BorrowerAPR float, BorrowerRate float, LenderYield float, EstimatedEffectiveYield float, EstimatedLoss float, EstimatedReturn float, ProsperRating(numeric) int, ProsperRating (Alpha) string, ProsperScore int, ListingCategory (numeric) int, BorrowerState string, Occupation string, EmploymentStatus string, EmploymentStatusDuration int, IsBorrowerHomeowner string, CurrentlyInGroup string, GroupKey string, DateCreditPulled TIMESTAMP, CreditScoreRangeLower int, CreditScoreRangeUpper int, FirstRecordedCreditLine TIMESTAMP, CurrentCreditLines int, OpenCreditLines int, TotalCreditLinespast7years int, OpenRevolvingAccounts int, OpenRevolvingMonthlyPayment int, InquiriesLast6Months int, TotalInquiries int, CurrentDelinquencies int, AmountDelinquent int, DelinquenciesLast7Years int, PublicRecordsLast10Years int, PublicRecordsLast12Months int, RevolvingCreditBalance int, BankcardUtilization float, AvailableBankcardCredit int, TotalTrades int, TradesNeverDelinquent (percentage) float, TradesOpenedLast6Months int, DebtToIncomeRatio float, IncomeRange string, IncomeVerifiable string, StatedMonthlyIncome double, LoanKey string, TotalProsperLoans int, TotalProsperPaymentsBilled int, OnTimeProsperPayments int, ProsperPaymentsLessThanOneMonthLate int, ProsperPaymentsOneMonthPlusLate int, ProsperPrincipalBorrowed int, ProsperPrincipalOutstanding double, ScorexChangeAtTimeOfListing int, LoanCurrentDaysDelinquent int, LoanFirstDefaultedCycleNumber int, LoanMonthsSinceOrigination int, LoanNumber int, LoanOriginalAmount int, LoanOriginationDate TIMESTAMP, LoanOriginationQuarter string, MemberKey string, MonthlyLoanPayment float, LP_CustomerPayments double, LP_CustomerPrincipalPayments double, LP_InterestandFees double, LP_ServiceFees double, LP_CollectionFees double, LP_GrossPrincipalLoss double, LP_NetPrincipalLoss double, LP_NonPrincipalRecoverypayments double, PercentFunded double, Recommendations int, InvestmentFromFriendsCount int, InvestmentFromFriendsAmount double, Investors int )row format delimited fields terminated by ',';