Skip to content

[Enhancement](pyudf) add helper command to show more py info#3402

Merged
zclllyybb merged 1 commit intoapache:masterfrom
linrrzqqq:pyudf-helper-cmd
Mar 2, 2026
Merged

[Enhancement](pyudf) add helper command to show more py info#3402
zclllyybb merged 1 commit intoapache:masterfrom
linrrzqqq:pyudf-helper-cmd

Conversation

@linrrzqqq
Copy link
Contributor

Versions

  • dev
  • 4.x
  • 3.x
  • 2.1

Languages

  • Chinese
  • English

Docs Checklist

  • Checked by AI
  • Test Cases Built

zclllyybb pushed a commit to apache/doris that referenced this pull request Feb 26, 2026
doc: apache/doris-website#3402

Add the auxiliary commands `SHOW PYTHON VERSIONS` and `SHOW PYTHON
PACKAGES IN '<VERSION>'` to display more PythonUDF-related information.

```sql
Doris> show python versions;
+---------+---------+---------+---------------------------------------------+--------------------------------------------------------+
| Version | EnvName | EnvType | BasePath                                    | ExecutablePath                                         |
+---------+---------+---------+---------------------------------------------+--------------------------------------------------------+
| 3.9.18  | py39    | conda   | /mnt/disk7/linzhenqi/miniconda3/envs/py39   | /mnt/disk7/linzhenqi/miniconda3/envs/py39/bin/python   |
| 3.8.10  | py3810  | conda   | /mnt/disk7/linzhenqi/miniconda3/envs/py3810 | /mnt/disk7/linzhenqi/miniconda3/envs/py3810/bin/python |
| 3.12.11 | py312   | conda   | /mnt/disk7/linzhenqi/miniconda3/envs/py312  | /mnt/disk7/linzhenqi/miniconda3/envs/py312/bin/python  |
+---------+---------+---------+---------------------------------------------+--------------------------------------------------------+
3 rows in set (0.02 sec)

Doris> show python packages in '3.9.18';
+-----------------+-------------+
| Package         | Version     |
+-----------------+-------------+
| pyarrow         | 21.0.0      |
| Bottleneck      | 1.4.2       |
| jieba           | 0.42.1      |
| six             | 1.17.0      |
| wheel           | 0.45.1      |
| python-dateutil | 2.9.0.post0 |
| tzdata          | 2025.3      |
| setuptools      | 80.9.0      |
| numpy           | 2.0.1       |
| psutil          | 7.0.0       |
| pandas          | 2.3.3       |
| mkl_random      | 1.2.8       |
| pip             | 25.3        |
| snownlp         | 0.12.3      |
| pytz            | 2025.2      |
| mkl_fft         | 1.3.11      |
| mkl-service     | 2.4.0       |
| numexpr         | 2.10.1      |
+-----------------+-------------+
```
@zclllyybb zclllyybb merged commit 9946d97 into apache:master Mar 2, 2026
1 check passed
@linrrzqqq linrrzqqq deleted the pyudf-helper-cmd branch March 2, 2026 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants