When querying in Snowflake with JavaScript inside a stored procedure, we typically receive a Result_set. How can the column names of the output result be retrieved using the JavaScript API?
Please note that this inquiry is not about retrieving the values of result columns, which can be done with functions like .getColumnValue() or getColumnValueAsString.