Intermediate commit:
- Arrange for the catalog schema to be made available during initialization
- Parse the catalog schema, build a transient PEDatabase for it, stuff it onto InformationSchemas
- Arrange for parsing of a view to work correctly prior to full initialization
- Add a single view implemented info schema table (generation_site).
- Start getting execution to work.

Current status:
- Restructuring LogicalSchemaQueryEngine to handle view implemented tables, then can get
  execution working.
- Show plurals is busted
- Figure out how to support show commands (likely adapt current structure)
- Need to break apart info schemas init into a catalog only (for catalog helper) and
  full.  This is required because currently we can't get to the catalog schema without
  hibernate initialization (so upgrade is currently broken).
Get generation_site view to work:
+ Modify Emitter to codify rules for emitting TableInstances so that we emit aliases or
  table names appropriately.
+ Arrange for some new emitter options to avoid emitting a db token.
+ Struggle with typing in info schema; this is temporary, once the conversion is complete
  one half of the hierarchy will be removed.
+ Arrange to defang part of view processing when parsing for infoschema.
+ Switch to using a fronting schema for views.
+ Add a builder for info schema views, add a view (generation_site)
+ Refactor out execution slightly to handle view based processing.
  Arrange for the LogicalSchemaQueryEngine to return either the current result sets
  based result, or else a FeatureStep.
+ Fix some corner cases in the dml view transformer.
More info schema restructuring:
+ Arrange for info schema tables to be backed by one of two different class hierarchies, the computed and direct hierarchies.
  Try to make everything behave the same way.  The backing class hierarchies are the adapters for the info schema columns and
  tables.
+ Changed a bunch of class names to be less unwieldy.
+ Add a new builder that replaces existing tables as they are migrated.
+ Added more state around emitting table instances in the emitter.

The upgrade is now broken, will address after migrating some more tables.
Migrated some more info schema tables to use views:
+ character_sets, removed annotations
+ collations, removed annotations
+ dynamic_policy, removed annotations
+ engines, removed annotations
+ show keys, information_schema.{referential_constraints,table_constraints,key_column_usage}, removed annotations

Other changes:
+ Modify emitter to support direct info schema statements (for debugging)
+ Modify the info schema gold generation to be alpha.  This completely breaks the upgrade.
+ Added some generator classes for the direct views.  Use them for the replacement info schema entries.
+ Add support for variables into the view defs.  These are used in the show commands to pass in
  the like expr, where exprs, also for scoping.
+ Added a custom show keys implementation to handle temporary tables.
+ Add a projection override in ProjectingExecutionStep, used in show commands.
+ Add support for merging order by clauses in the view transform.
+ Added a big test for column declarations.  Currently disabled.

This is a checkpoint commit.  Next up is reworking user_column.
Intermediate commit.

Restructured UserColumn to use a bitfield for various flags rather than separate values.
Copy the bitfield around between ColumnMetadata and PEColumn.  Arrange for the bitfield
to contain the previously derived attributes for key part, unique key part, primary key part.
Use the bitfield in the migrated infoschema queries for show columns, columns info_schema table.

Todo:
- An upgrade
- Multitenant mode
- show full columns
- migrate the tests that load the catalog directly (i.e. via metadata file) to
  instead load through the front door.
Migrate persistent sites and site instance.
A large number of changes relating to the infoschema rewrite:
+ Remove use of annotations.
+ Convert all nonsynthetic infoschema show/info/mysql to use queries routed through the engine
+ Some synthetic infoschema show commands (i.e. show create database) have also been reimplemented
  as sql queries.

Still broken:
+ upgrade, TemporaryTableTest.
Fix TemporaryTableTest by deriving columns for temp table show commands in the usual way,
rather than taking all the columns from the info schema table.
Remove the default_value_is_constant flag, since it is redundant.
Fix projection metadata generation to use correct column name.
Add upgrade.
Merge branch 'master' into catalog_rewrite

Conflicts:
	tesora-dve-core/src/main/java/com/tesora/dve/common/catalog/UserTable.java
	tesora-dve-core/src/main/java/com/tesora/dve/db/GenericSQLCommand.java
	tesora-dve-core/src/main/java/com/tesora/dve/sql/infoschema/LogicalInformationSchemaTable.java
	tesora-dve-core/src/main/java/com/tesora/dve/sql/infoschema/computed/ComputedInformationSchemaTable.java
	tesora-dve-core/src/main/java/com/tesora/dve/sql/schema/Table.java
	tesora-dve-core/src/main/java/com/tesora/dve/sql/statement/Statement.java
	tesora-dve-core/src/test/java/com/tesora/dve/common/resultset/ResultChunkMgrTest.java
	tesora-dve-core/src/test/java/com/tesora/dve/queryplan/QueryStepBasicTest.java
	tesora-dve-core/src/test/java/com/tesora/dve/sql/CatalogQueryTest.java
	tesora-dve-core/src/test/java/com/tesora/dve/sql/SimpleContainerTest.java
	tesora-dve-core/src/test/java/com/tesora/dve/test/tuples/TuplesTest.java
Start cleaning up remaining infoschema tables, specifically:
+ show external service
+ show create table
_ show table status
PE-1659 - Fixed some error messages.
Fixed a typo in the AiTemplateBuilder.
Fix for PE-1568.  The field named 'last insert ID' in a wire protocol OK packet should be the first generated autoinc in an insert sequence, not the last, go figure.
Merge remote-tracking branch 'origin/master'
Some improvements to the generator based on Magento findings.
PE-1568 - Fixed unit test.
Converted remaining infoschema tables/show tables to direct framework:
+ show status
+ show table status
+ show variables
+ information_schema.session_variables, information_schema.global_variables

Removed most of the old framework:
+ ScopedColumnInstance
+ the entire logical schema
+ annotations
Merge branch 'master' into kanzaros_cta

Conflicts:
	tesora-dve-core/src/main/java/com/tesora/dve/db/GenericSQLCommand.java
	tesora-dve-core/src/main/java/com/tesora/dve/sql/schema/LateSortedInsert.java
	tesora-dve-core/src/main/java/com/tesora/dve/sql/transexec/TransientExecutionEngine.java
Fix ClientTestNG - declare the table via the front door, rather than sideloading.
Miscellaneous cleanup around info schema rewrite - mostly collapsing
some classes together and getting rid of unused methods.

Also, implement engine side of 1390 (planner side was done a while ago).
You can lead a horse to water, but you can't make him drink.