Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Done
-
1.14.0
Description
Currently, if users want to print logs, they need to use logging module.
@udf(result_type=DataTypes.BIGINT()) def add(i, j): import logging logging.info("debug") return i + j
It will be more convenient to use `print` to print logs.
Unable to find source-code formatter for language: python. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
@udf(result_type=DataTypes.BIGINT()) def add(i, j): print("debug") return i + j
Attachments
Issue Links
- links to