ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanhur...@apache.org
Subject [07/17] ambari git commit: AMBARI-21648. Do not use 'dbo' schema name in idempotent Ambari DDL generator for AzureDB. (stoader)
Date Mon, 14 Aug 2017 20:18:09 GMT
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-feature-AMBARI-21450
Commit: dba278bfbefad7c7c92e64cded3821f7bcf985b4
Parents: 6ddd4ac
Author: Toader, Sebastian <stoader@hortonworks.com>
Authored: Fri Aug 4 10:04:32 2017 +0200
Committer: Toader, Sebastian <stoader@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


Mime
View raw message