-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-20089] [SQL] [TEST] Added DESC FUNCTION and DESC EXTENDED FUNCTION to SQLQueryTestSuite #17424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Test build #75194 has finished for PR 17424 at commit
|
|
retest this please |
|
Test build #75201 has finished for PR 17424 at commit
|
|
Hm - so this would require us to update the test suite every time there is an update to the docs? |
|
@rxin Yes! After we add it to SQLQueryTestSuite, we can copy and paste the contents to the document in http://spark.apache.org/docs/latest/sql-programming-guide.html So far, our Spark SQL users have no idea which functions we provide unless they read the source codes. In the future, if anybody update the docs in the source codes, they have to update the test suite. Then, we can add a reminder in the test case to let them also update the public SQL document. Do you like the idea? |
|
retest this please |
|
Test build #75222 has finished for PR 17424 at commit
|
|
To document the functions available sounds good. But I am not sure if we want to put this into test. Sounds like we use the test as document generator. |
|
@viirya That is not only for document generator. It can help us review/correct the output of Actually, I also think we need to output the physical plans for many important queries in |
|
I am not sure if it helps review by dumping the output of |
What changes were proposed in this pull request?
DESC FUNCTIONandDESC EXTENDED FUNCTIONshould be added toSQLQueryTestSuitefor us to review the outputs of each function.How was this patch tested?
N/A