aboutsummaryrefslogtreecommitdiff
path: root/sql/hive/src/test/resources/golden/udf_ceiling-1-69b4ba577d2f0f18befdaa1ee7a858df
diff options
context:
space:
mode:
authorMichael Armbrust <michael@databricks.com>2014-03-21 15:05:45 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-03-21 15:05:45 -0700
commit7e17fe69f9c3dc4cac024ea483f5d5f34ee06203 (patch)
treebf6235fda03105bb981d64a25819ddb5a49bc19c /sql/hive/src/test/resources/golden/udf_ceiling-1-69b4ba577d2f0f18befdaa1ee7a858df
parente09139d9ca529a8f983a8b3e2a8158c3f3caa523 (diff)
downloadspark-7e17fe69f9c3dc4cac024ea483f5d5f34ee06203.tar.gz
spark-7e17fe69f9c3dc4cac024ea483f5d5f34ee06203.tar.bz2
spark-7e17fe69f9c3dc4cac024ea483f5d5f34ee06203.zip
Add hive test files to repository. Remove download script.
This PR removes our test dependence on files hosted at Berkeley by checking the test queries and answers into the repository. This should also fix the maven Jenkins build. I realize this is a *giant* commit. But size wise its actually pretty small. We are only looking at ~1.2Mb compressed (~30Mb uncompressed). Given that we already have a ~80Mb file permanently added to the spark code lineage, I do not think that this will change the developer experience significantly. Furthermore, I think it is good engineering practice to consider such test support files as "code", since changes to them would indicate a change in functionality. These files were only excluded from the initial PR as I wanted the diff to be readable. Author: Michael Armbrust <michael@databricks.com> Closes #199 from marmbrus/hiveTestFiles and squashes the following commits: b9b9b17 [Michael Armbrust] Add hive test files to repository. Remove download script.
Diffstat (limited to 'sql/hive/src/test/resources/golden/udf_ceiling-1-69b4ba577d2f0f18befdaa1ee7a858df')
-rw-r--r--sql/hive/src/test/resources/golden/udf_ceiling-1-69b4ba577d2f0f18befdaa1ee7a858df7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/hive/src/test/resources/golden/udf_ceiling-1-69b4ba577d2f0f18befdaa1ee7a858df b/sql/hive/src/test/resources/golden/udf_ceiling-1-69b4ba577d2f0f18befdaa1ee7a858df
new file mode 100644
index 0000000000..79a06f0ee2
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_ceiling-1-69b4ba577d2f0f18befdaa1ee7a858df
@@ -0,0 +1,7 @@
+ceiling(x) - Find the smallest integer not smaller than x
+Synonyms: ceil
+Example:
+ > SELECT ceiling(-0.1) FROM src LIMIT 1;
+ 0
+ > SELECT ceiling(5) FROM src LIMIT 1;
+ 5 \ No newline at end of file