Repository: ambari Updated Branches: refs/heads/branch-2.6 6ddd4ac76 -> dba278bfb
AMBARI-21648. Do not use 'dbo' schema name in idempotent Ambari DDL generator for AzureDB. (stoader) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/dba278bf Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/dba278bf Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/dba278bf Branch: refs/heads/branch-2.6 Commit: dba278bfbefad7c7c92e64cded3821f7bcf985b4 Parents: 6ddd4ac Author: Toader, Sebastian <stoa...@hortonworks.com> Authored: Fri Aug 4 10:04:32 2017 +0200 Committer: Toader, Sebastian <stoa...@hortonworks.com> Committed: Fri Aug 11 09:52:07 2017 +0200 ---------------------------------------------------------------------- ambari-server/src/main/python/azuredb_create_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/dba278bf/ambari-server/src/main/python/azuredb_create_generator.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/python/azuredb_create_generator.py b/ambari-server/src/main/python/azuredb_create_generator.py index 6ceaa90..1794d79 100755 --- a/ambari-server/src/main/python/azuredb_create_generator.py +++ b/ambari-server/src/main/python/azuredb_create_generator.py @@ -38,7 +38,7 @@ for statement in input_statements: statement = re.sub( create_table_re, dedent('''\ - IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('dbo.\g<1>') AND type = 'U') + IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('\g<1>') AND type = 'U') BEGIN \g<0> END