Skip to content
Snippets Groups Projects
Commit 0bb73554 authored by Julien Baley's avatar Julien Baley Committed by Reynold Xin
Browse files

Fix typo

disvoered => discovered

Author: Julien Baley <julien.baley@gmail.com>

Closes #10773 from julienbaley/patch-1.
parent 513266c0
No related branches found
No related tags found
No related merge requests found
...@@ -102,11 +102,11 @@ private[sql] object PartitioningUtils { ...@@ -102,11 +102,11 @@ private[sql] object PartitioningUtils {
// It will be recognised as conflicting directory structure: // It will be recognised as conflicting directory structure:
// "hdfs://host:9000/invalidPath" // "hdfs://host:9000/invalidPath"
// "hdfs://host:9000/path" // "hdfs://host:9000/path"
val disvoeredBasePaths = optDiscoveredBasePaths.flatMap(x => x) val discoveredBasePaths = optDiscoveredBasePaths.flatMap(x => x)
assert( assert(
disvoeredBasePaths.distinct.size == 1, discoveredBasePaths.distinct.size == 1,
"Conflicting directory structures detected. Suspicious paths:\b" + "Conflicting directory structures detected. Suspicious paths:\b" +
disvoeredBasePaths.distinct.mkString("\n\t", "\n\t", "\n\n") + discoveredBasePaths.distinct.mkString("\n\t", "\n\t", "\n\n") +
"If provided paths are partition directories, please set " + "If provided paths are partition directories, please set " +
"\"basePath\" in the options of the data source to specify the " + "\"basePath\" in the options of the data source to specify the " +
"root directory of the table. If there are multiple root directories, " + "root directory of the table. If there are multiple root directories, " +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment