Skip to content
Prev Previous commit
Next Next commit
fix typo
  • Loading branch information
dongjoon-hyun authored and HyukjinKwon committed Jul 27, 2020
commit e5a1ad17ec9448dec6702e1c36ac9714a28b00d5
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ object IntegratedUDFTestUtils extends SQLHelper {
sparkHome, "python", "lib", PythonUtils.PY4J_ZIP_NAME).toAbsolutePath
private lazy val pysparkPythonPath = s"$py4jPath:$sourcePath"

lazy val isPythonAvailable: Boolean = TestUtils.testCommandAvailable(pythonExec)
private lazy val isPythonAvailable: Boolean = TestUtils.testCommandAvailable(pythonExec)

private lazy val isPySparkAvailable: Boolean = isPythonAvailable && Try {
Process(
Expand Down Expand Up @@ -203,7 +203,7 @@ object IntegratedUDFTestUtils extends SQLHelper {
} else if (pythonExec.equalsIgnoreCase("python") &&
TestUtils.testCommandAvailable("python3")) {
"python3"
} else if {
} else {
"python"
}
}
Expand Down