You can translate the question and the replies:

ABout CONTEXT ('I18N' = 'gb');

HI team, we deploy some views from one env to anohter several env, and we found, for one exact view, after this deployment, one some deployed envs, it contained " CONTEXT ('I18N' = 'gb');" at then end of view vql, but on some on other deployed envs, they do nto contain " CONTEXT ('I18N' = 'gb');". Do you know why and how to fix it?
user
03-06-2021 04:53:20 -0400
code

1 Answer

Hi, The CONTEXT clause is used to modify certain configuration preferences to execute a specific query, without overriding the values configured by default. So, when I created a derived view with the query that contains a CONTEXT clause, I could see the clause in the VQL of the view. After creating the revision of that view, you can check that this clause is present in the VQL of that revision. But, if you deploy this same revision to different environments the same VQL statements get executed in all the environments. In your scenario, to have an unbiased comparison, I would check if the VQL statements that are executed in different environments are from the same revision. Hope this helps!
Denodo Team
07-06-2021 16:10:32 -0400
code
You must sign in to add an answer. If you do not have an account, you can register here