0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

dbutils.notebook.run 実行時の Any international characters must be removed or replaced in workflow_context エラーへの対応方法

0
Posted at

概要

dbutils.notebook.run実行時のAny international characters must be removed or replaced in workflow_contextエラーへの対応方法を共有します。

エラーと対応方法

エラー

dbutils.notebook.run を実行すると次のようなエラーが発生する場合があります。ノートブック名やディレクトリにマルチバイト文字(日本語等)が含まれている場合に発生します。今回は/ジョブエラー/executorのノートブックを実行しようとしているためエラーとなりました。

dbutils.notebook.run(
    "./executor",
    0,
)
com.databricks.WorkflowException: com.databricks.common.client.DatabricksServiceHttpClientException: INVALID_PARAMETER_VALUE: Only Latin1 (ASCII) characters are currently supported. Any international characters must be removed or replaced in workflow_context

image.png

%runによりノートブックを呼び出す場合には、ディレクトリ名にマルチバイト文字が含まれていても正常終了するようです。

%run ./executor

image.png

対応方法

ノートブック名、あるいは、ディレクトリ名からマルチバイト文字を除く必要があります。/ジョブエラー/executorというパスであるため、/job_error/executorに変更することで正常終了します。

image.png

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?