In Firebolt's UI, numeric values are automatically displayed with commas for readability (e.g., 123,456,789). However, this may be undesirable for fields like IDs or other values where commas aren’t needed.
Solution:
To remove commas from numbers in the UI, CAST the numeric field to TEXT using ::TEXT. This ensures that the number is displayed as a plain text string, without commas.
Example:
SELECT
playerid AS playerid_default,
playerid::text AS playerid_text,
nickname,
email
FROM players
LIMIT 10;
In this example, playerid_default will display with commas, while playerid_text will display the number without commas.
This method only affects how numbers are displayed in the Firebolt UI and does not alter the underlying data or its formatting in external tools.