Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Fixes for Jira's trafodion-19 & trafodion-29 #62

Merged
merged 2 commits into from
Aug 25, 2015

Conversation

robertamarton
Copy link
Contributor

See Jira's for a description.
Also removed obsolete code from the parser

See Jira's for a description.
Also removed obsolete code from the parser
Conflicts:
	core/sql/sqlcomp/CmpSeabaseDDL.h
	core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
@Traf-Jenkins
Copy link

Test Failed.
https://jenkins.esgyn.com/job/Check-PR/106/

@Traf-Jenkins
Copy link

Test Passed.
https://jenkins.esgyn.com/job/Check-PR/107/

@@ -99,3 +99,17 @@ NABoolean ComIsTrafodionReservedSchemaName(
return FALSE;
}

// schema names of pattern "_HV ... _" and "_HB_ ... _" are reserved to store
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Comment is not quite right... it's HV and HB (the trailing underscore after _HV is missing).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ... was supposed to signify the schema name, perhaps "HV_schema" and "HB_schema" would look better. The ... to indicate the schema name may be confusing. I have updated the comment and will be part of my next delivery.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, I did not catch the "underscore" comment - I will fix this in a subsequent delivery.

@DaveBirdsall
Copy link
Contributor

The changes look good to me. The only comments I had were fairly minor.

1180 ZZZZZ 99999 BEGINNER MAJOR DBADMIN The required subvolume name for locations in schema $0~SchemaName is $1~String0.
1181 ZZZZZ 99999 BEGINNER MAJOR DBADMIN Label $0~String0 could not be dropped (file error $1~NSKCode).
1180 ZZZZZ 99999 BEGINNER MAJOR DBADMIN Trying to create an external table $0~TableName with a different schema or table name than the source table $1~TableName. The external schema and table name must be the same as the source.
1181 ZZZZZ 99999 BEGINNER MAJOR DBADMIN Trying to create a schema with name $0~TableName to store the definition of a native HIVE or HBASE table and the name is too long. Maximum length supported is $0~Int0.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we supply the external source as an argument (HIVE or HBASE) here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can do, good suggestion.

@asfgit asfgit merged commit edfc632 into apache:master Aug 25, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants