[英]BQ Query - add whitespace after comma
我正在 BQ 中編寫查詢,它返回一個沒有空格的串聯逗號分隔字符串。 我想在逗號后添加一個空格。
我嘗試過的所有在 CONCAT_WS 等其他 SQL 查詢中都有效的方法均無效。
詢問:
CASE WHEN u2.reportsDown IS NULL THEN u1.reportsUp ELSE CONCAT(u1.reportsUp, ", ", u2.reportsDown) END as accountLIST
FROM ```
Result:
```12345,67890,09876,54321,102938,564738```
Desired Result:
```12345, 67890, 09876, 54321, 102938, 564738```
Even adding a _ after the comma is not doing anything. Not even the _ is showing up.
Does anyone know how I can get a whitespace after the comma in a BQ query?
Thank you!
能夠在 BQ 中使用 REPLACE function 添加空格
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.