Durante la connessione a Snowflake, Tableau restituisce un timestamp diverso da quello visualizzato in Snowflake. Questo problema può verificarsi quando si lavora con i tipi di campo TIMESTAMP_TZ e TIMESTAMP_LTZ o quando si restituisce current_timestamp dal database, mentre il computer dell'utente finale è impostato su un fuso orario diverso da quello specificato dal parametro TIMEZONE per il proprio account/sessione o il database Snowflake si trova in un fuso orario diverso.
Poiché Tableau esegue le query sul database utilizzando i timestamp nel fuso orario del computer locale, se il fuso orario in Snowflake è diverso, i dati restituiti potrebbero non essere corretti o potrebbe non essere restituito alcun dato.
Va inoltre notato che, quando ci si connette a un database Snowflake situato in un fuso orario diverso, current_timestamp e now() restituiscono valori diversi. In particolare, now() restituisce la data nel fuso orario dell'origine dati, mentre current_timestamp restituisce la data nel fuso orario del computer locale.
ALTER SESSION SET TIMEZONE = 'UTC';
001471936

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.