Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cld
workloads
tpcds
Commits
d3d8e268
Commit
d3d8e268
authored
Apr 15, 2017
by
Jonathan Mace
Browse files
Testing out table caching
parent
06ebd237
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/scala/com/databricks/spark/sql/perf/tpcds/Tables.scala
View file @
d3d8e268
...
...
@@ -189,6 +189,7 @@ class Tables(sqlContext: HiveContext, scaleFactor: Int) extends Serializable {
println
(
s
"Creating temporary table $name using data stored in $location."
)
log
.
info
(
s
"Creating temporary table $name using data stored in $location."
)
sqlContext
.
read
.
format
(
format
).
load
(
location
).
registerTempTable
(
name
)
sqlContext
.
cacheTable
(
name
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment