[GitHub] spark pull request #16356: [SPARK-18949] [SQL] Add recoverPartitions API to ...

2016-12-20 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/spark/pull/16356


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request #16356: [SPARK-18949] [SQL] Add recoverPartitions API to ...

2016-12-20 Thread gatorsmile
Github user gatorsmile commented on a diff in the pull request:

https://github.com/apache/spark/pull/16356#discussion_r93337049
  
--- Diff: python/pyspark/sql/catalog.py ---
@@ -258,6 +258,11 @@ def refreshTable(self, tableName):
 """Invalidate and refresh all the cached metadata of the given 
table."""
 self._jcatalog.refreshTable(tableName)
 
+@since(2.1)
--- End diff --

I see. Thanks!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request #16356: [SPARK-18949] [SQL] Add recoverPartitions API to ...

2016-12-20 Thread rxin
Github user rxin commented on a diff in the pull request:

https://github.com/apache/spark/pull/16356#discussion_r93335790
  
--- Diff: python/pyspark/sql/catalog.py ---
@@ -258,6 +258,11 @@ def refreshTable(self, tableName):
 """Invalidate and refresh all the cached metadata of the given 
table."""
 self._jcatalog.refreshTable(tableName)
 
+@since(2.1)
--- End diff --

you can do "2.1.1" as a string


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request #16356: [SPARK-18949] [SQL] Add recoverPartitions API to ...

2016-12-20 Thread gatorsmile
Github user gatorsmile commented on a diff in the pull request:

https://github.com/apache/spark/pull/16356#discussion_r93332266
  
--- Diff: python/pyspark/sql/catalog.py ---
@@ -258,6 +258,11 @@ def refreshTable(self, tableName):
 """Invalidate and refresh all the cached metadata of the given 
table."""
 self._jcatalog.refreshTable(tableName)
 
+@since(2.1.1)
--- End diff --

Will change it to `2.1`. `2.1.1` causes the doc build break. If needed, I 
can do more investigation to see how to do it for `2.1.1`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request #16356: [SPARK-18949] [SQL] Add recoverPartitions API to ...

2016-12-20 Thread gatorsmile
Github user gatorsmile commented on a diff in the pull request:

https://github.com/apache/spark/pull/16356#discussion_r93329801
  
--- Diff: project/MimaExcludes.scala ---
@@ -37,7 +37,9 @@ object MimaExcludes {
   // Exclude rules for 2.2.x
   lazy val v22excludes = v21excludes ++ Seq(
 // [SPARK-18663][SQL] Simplify CountMinSketch aggregate implementation
-
ProblemFilters.exclude[ReversedMissingMethodProblem]("org.apache.spark.util.sketch.CountMinSketch.toByteArray")
+
ProblemFilters.exclude[ReversedMissingMethodProblem]("org.apache.spark.util.sketch.CountMinSketch.toByteArray"),
+// [SPARK-18949] [SQL] Add repairTable API to Catalog
+
ProblemFilters.exclude[ReversedMissingMethodProblem]("org.apache.spark.sql.catalog.Catalog.recoverPartitions")
--- End diff --

When backporting this PR to 2.1.1, we might need to move this to the next 
section `2.1.x`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org