MCPcopy Create free account
hub / github.com/ddf-project/DDF / createTableRatings

Method createTableRatings

spark/src/test/java/io/ddf/spark/BaseTest.java:102–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 }
101
102 public void createTableRatings() throws DDFException {
103 manager.sql("drop table if exists ratings", "SparkSQL");
104
105 manager.sql("create table ratings (userid int,movieid int,score double ) "
106 + "ROW FORMAT DELIMITED FIELDS TERMINATED BY ','", "SparkSQL");
107
108 manager.sql("load data local inpath '../resources/test/ratings.data' into table ratings", "SparkSQL");
109 }
110
111 public void createTableMtcars() throws DDFException {
112 manager.sql("drop table if exists mtcars", "SparkSQL");

Callers 1

TestALSMethod · 0.80

Calls 1

sqlMethod · 0.65

Tested by

no test coverage detected