diff options
author | Shixiong Zhu <shixiong@databricks.com> | 2016-06-14 19:45:11 -0700 |
---|---|---|
committer | Shixiong Zhu <shixiong@databricks.com> | 2016-06-14 19:45:11 -0700 |
commit | 0ee9fd9e528206a5edfb2cc4a56538250b428aaf (patch) | |
tree | b83d6da891451905bba27b7cba79975fc2227ac3 /python/pyspark/sql/streaming.py | |
parent | 63e0aebe22ba41c636ecaddd8647721d7690a1ec (diff) | |
download | spark-0ee9fd9e528206a5edfb2cc4a56538250b428aaf.tar.gz spark-0ee9fd9e528206a5edfb2cc4a56538250b428aaf.tar.bz2 spark-0ee9fd9e528206a5edfb2cc4a56538250b428aaf.zip |
[SPARK-15935][PYSPARK] Fix a wrong format tag in the error message
## What changes were proposed in this pull request?
A follow up PR for #13655 to fix a wrong format tag.
## How was this patch tested?
Jenkins unit tests.
Author: Shixiong Zhu <shixiong@databricks.com>
Closes #13665 from zsxwing/fix.
Diffstat (limited to 'python/pyspark/sql/streaming.py')
-rw-r--r-- | python/pyspark/sql/streaming.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pyspark/sql/streaming.py b/python/pyspark/sql/streaming.py index 0edaa51549..1d650946be 100644 --- a/python/pyspark/sql/streaming.py +++ b/python/pyspark/sql/streaming.py @@ -146,7 +146,7 @@ class ContinuousQueryManager(object): >>> cq.stop() """ if not isinstance(id, intlike): - raise ValueError("The id for the query must be an integer. Got: %d" % id) + raise ValueError("The id for the query must be an integer. Got: %s" % id) return ContinuousQuery(self._jcqm.get(id)) @since(2.0) |