You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ma...@apache.org on 2015/07/15 11:42:35 UTC

[02/14] incubator-kylin git commit: add odbc driver to maven repository

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/Installer/Installer.isproj
----------------------------------------------------------------------
diff --git a/odbc/Installer/Installer.isproj b/odbc/Installer/Installer.isproj
new file mode 100644
index 0000000..9e4481b
--- /dev/null
+++ b/odbc/Installer/Installer.isproj
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+	<PropertyGroup>
+		<!-- Select a Product Configuration -->
+		<InstallShieldProductConfiguration>Express</InstallShieldProductConfiguration>
+		<!-- Select a Visual Studio Configuration / InstallShield Release -->
+		<Configuration>Debug</Configuration>
+		<InstallShieldRelease>$(Configuration)</InstallShieldRelease>
+	</PropertyGroup>
+	<ItemGroup>
+		<!-- The InstallShieldProject item selects the project to build -->
+		<InstallShieldProject Include="$(MSBuildProjectDirectory)\$(MSBuildProjectName).isl"/>
+		<!-- The InstallShieldReleaseFlags sets Release Flags -->
+		<!--<InstallShieldReleaseFlags Include=""/>-->
+		<!-- The InstallShieldMergeModulePath specifies what directories are
+		searched for Merge Modules -->
+		<!--<InstallShieldMergeModulePath Include=""/>-->
+	</ItemGroup>
+	<ItemGroup>
+		<!-- The ProjectReference items refer to any Visual Studio solutions you want to automatically probe for Project Output Groups.  -->
+	</ItemGroup>
+	<ItemGroup>
+		<!-- The TaggedOutputs items allow you to explicitly add extra files to output groups. Each item must include both Name and OutputGroup, as well as TargetPath metadata values. -->
+		<!--<TaggedOutputs Include="C:\My Test Exe.exe">
+			<Name>My Test Project</Name>
+			<OutputGroup>Primary output</OutputGroup>
+			<TargetPath>My Test Exe.exe</TargetPath>
+		</TaggedOutputs> -->
+	</ItemGroup>
+	<Import Project="$(MSBuildExtensionsPath32)\InstallShield\2013Limited\InstallShield.targets"/>
+	<ItemGroup>
+		<ProjectReference Include="..\Driver\driver.vcxproj">
+			<Name>Driver</Name>
+			<Project>{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}</Project>
+		</ProjectReference>
+	</ItemGroup>
+</Project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/Installer/Installer/Express/Interm/.gitignore
----------------------------------------------------------------------
diff --git a/odbc/Installer/Installer/Express/Interm/.gitignore b/odbc/Installer/Installer/Express/Interm/.gitignore
new file mode 100644
index 0000000..d6fd0a4
--- /dev/null
+++ b/odbc/Installer/Installer/Express/Interm/.gitignore
@@ -0,0 +1 @@
+*.Exe

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/Installer/Installer/Express/SingleImage/DiskImages/DISK1/.gitignore
----------------------------------------------------------------------
diff --git a/odbc/Installer/Installer/Express/SingleImage/DiskImages/DISK1/.gitignore b/odbc/Installer/Installer/Express/SingleImage/DiskImages/DISK1/.gitignore
new file mode 100644
index 0000000..b883f1f
--- /dev/null
+++ b/odbc/Installer/Installer/Express/SingleImage/DiskImages/DISK1/.gitignore
@@ -0,0 +1 @@
+*.exe

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/Installer/Installer/Express/SingleImage/LogFiles/.gitignore
----------------------------------------------------------------------
diff --git a/odbc/Installer/Installer/Express/SingleImage/LogFiles/.gitignore b/odbc/Installer/Installer/Express/SingleImage/LogFiles/.gitignore
new file mode 100644
index 0000000..2211df6
--- /dev/null
+++ b/odbc/Installer/Installer/Express/SingleImage/LogFiles/.gitignore
@@ -0,0 +1 @@
+*.txt

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/Installer/Installer/Express/SingleImage/Reports/.gitignore
----------------------------------------------------------------------
diff --git a/odbc/Installer/Installer/Express/SingleImage/Reports/.gitignore b/odbc/Installer/Installer/Express/SingleImage/Reports/.gitignore
new file mode 100644
index 0000000..43d1567
--- /dev/null
+++ b/odbc/Installer/Installer/Express/SingleImage/Reports/.gitignore
@@ -0,0 +1 @@
+*.htm

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/KylinODBC.sln
----------------------------------------------------------------------
diff --git a/odbc/KylinODBC.sln b/odbc/KylinODBC.sln
new file mode 100644
index 0000000..35091ac
--- /dev/null
+++ b/odbc/KylinODBC.sln
@@ -0,0 +1,296 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2012
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "Common\Common.vcxproj", "{6EE1C577-1826-4EA2-86AC-FE8047D396A9}"
+EndProject
+Project("{6141683F-8A12-4E36-9623-2EB02B2C2303}") = "Installer", "Installer\Installer.isproj", "{71AB0FA7-D2B0-4731-B292-42025CB5217A}"
+	ProjectSection(ProjectDependencies) = postProject
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5} = {B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}
+	EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Driver", "Driver\driver.vcxproj", "{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}"
+	ProjectSection(ProjectDependencies) = postProject
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9} = {6EE1C577-1826-4EA2-86AC-FE8047D396A9}
+	EndProjectSection
+EndProject
+Project("{6141683F-8A12-4E36-9623-2EB02B2C2303}") = "Installer(64bit)", "Installer(64bit)\Installer(64bit).isproj", "{BCCCAF23-CDB4-4833-AB48-85791D261342}"
+	ProjectSection(ProjectDependencies) = postProject
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5} = {B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}
+	EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tests", "TestDLL\TestDLL.vcxproj", "{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}"
+	ProjectSection(ProjectDependencies) = postProject
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5} = {B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}
+	EndProjectSection
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		CD_ROM|Any CPU = CD_ROM|Any CPU
+		CD_ROM|Mixed Platforms = CD_ROM|Mixed Platforms
+		CD_ROM|Win32 = CD_ROM|Win32
+		CD_ROM|x64 = CD_ROM|x64
+		Debug|Any CPU = Debug|Any CPU
+		Debug|Mixed Platforms = Debug|Mixed Platforms
+		Debug|Win32 = Debug|Win32
+		Debug|x64 = Debug|x64
+		DVD-5|Any CPU = DVD-5|Any CPU
+		DVD-5|Mixed Platforms = DVD-5|Mixed Platforms
+		DVD-5|Win32 = DVD-5|Win32
+		DVD-5|x64 = DVD-5|x64
+		Release|Any CPU = Release|Any CPU
+		Release|Mixed Platforms = Release|Mixed Platforms
+		Release|Win32 = Release|Win32
+		Release|x64 = Release|x64
+		SingleImage|Any CPU = SingleImage|Any CPU
+		SingleImage|Mixed Platforms = SingleImage|Mixed Platforms
+		SingleImage|Win32 = SingleImage|Win32
+		SingleImage|x64 = SingleImage|x64
+		Template|Any CPU = Template|Any CPU
+		Template|Mixed Platforms = Template|Mixed Platforms
+		Template|Win32 = Template|Win32
+		Template|x64 = Template|x64
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.CD_ROM|Any CPU.ActiveCfg = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.CD_ROM|Mixed Platforms.ActiveCfg = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.CD_ROM|Mixed Platforms.Build.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.CD_ROM|Mixed Platforms.Deploy.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.CD_ROM|Win32.ActiveCfg = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.CD_ROM|Win32.Build.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.CD_ROM|Win32.Deploy.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.CD_ROM|x64.ActiveCfg = Release|x64
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.CD_ROM|x64.Build.0 = Release|x64
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Debug|Any CPU.ActiveCfg = Debug|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Debug|Mixed Platforms.Build.0 = Debug|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Debug|Mixed Platforms.Deploy.0 = Debug|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Debug|Win32.ActiveCfg = Debug|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Debug|Win32.Build.0 = Debug|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Debug|Win32.Deploy.0 = Debug|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Debug|x64.ActiveCfg = Debug|x64
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Debug|x64.Build.0 = Debug|x64
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.DVD-5|Any CPU.ActiveCfg = Debug|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.DVD-5|Mixed Platforms.ActiveCfg = Debug|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.DVD-5|Mixed Platforms.Build.0 = Debug|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.DVD-5|Mixed Platforms.Deploy.0 = Debug|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.DVD-5|Win32.ActiveCfg = Debug|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.DVD-5|Win32.Build.0 = Debug|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.DVD-5|Win32.Deploy.0 = Debug|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.DVD-5|x64.ActiveCfg = Debug|x64
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.DVD-5|x64.Build.0 = Debug|x64
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Release|Any CPU.ActiveCfg = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Release|Mixed Platforms.ActiveCfg = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Release|Mixed Platforms.Build.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Release|Mixed Platforms.Deploy.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Release|Win32.ActiveCfg = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Release|Win32.Build.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Release|Win32.Deploy.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Release|x64.ActiveCfg = Release|x64
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Release|x64.Build.0 = Release|x64
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.SingleImage|Any CPU.ActiveCfg = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.SingleImage|Mixed Platforms.ActiveCfg = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.SingleImage|Mixed Platforms.Build.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.SingleImage|Mixed Platforms.Deploy.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.SingleImage|Win32.ActiveCfg = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.SingleImage|Win32.Build.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.SingleImage|Win32.Deploy.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.SingleImage|x64.ActiveCfg = Release|x64
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.SingleImage|x64.Build.0 = Release|x64
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Template|Any CPU.ActiveCfg = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Template|Mixed Platforms.ActiveCfg = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Template|Mixed Platforms.Build.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Template|Mixed Platforms.Deploy.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Template|Win32.ActiveCfg = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Template|Win32.Build.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Template|Win32.Deploy.0 = Release|Win32
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Template|x64.ActiveCfg = Release|x64
+		{6EE1C577-1826-4EA2-86AC-FE8047D396A9}.Template|x64.Build.0 = Release|x64
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.CD_ROM|Any CPU.ActiveCfg = CD_ROM
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.CD_ROM|Any CPU.Build.0 = CD_ROM
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.CD_ROM|Mixed Platforms.ActiveCfg = CD_ROM
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.CD_ROM|Mixed Platforms.Build.0 = CD_ROM
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.CD_ROM|Win32.ActiveCfg = CD_ROM
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.CD_ROM|Win32.Build.0 = CD_ROM
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.CD_ROM|x64.ActiveCfg = CD_ROM
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.CD_ROM|x64.Build.0 = CD_ROM
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Debug|Any CPU.ActiveCfg = DVD-5
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Debug|Any CPU.Build.0 = DVD-5
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Debug|Mixed Platforms.ActiveCfg = DVD-5
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Debug|Mixed Platforms.Build.0 = DVD-5
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Debug|Win32.ActiveCfg = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Debug|Win32.Build.0 = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Debug|x64.ActiveCfg = DVD-5
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Debug|x64.Build.0 = DVD-5
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.DVD-5|Any CPU.ActiveCfg = DVD-5
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.DVD-5|Any CPU.Build.0 = DVD-5
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.DVD-5|Mixed Platforms.ActiveCfg = DVD-5
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.DVD-5|Mixed Platforms.Build.0 = DVD-5
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.DVD-5|Win32.ActiveCfg = DVD-5
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.DVD-5|Win32.Build.0 = DVD-5
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.DVD-5|x64.ActiveCfg = DVD-5
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.DVD-5|x64.Build.0 = DVD-5
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Release|Any CPU.ActiveCfg = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Release|Any CPU.Build.0 = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Release|Mixed Platforms.ActiveCfg = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Release|Mixed Platforms.Build.0 = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Release|Win32.ActiveCfg = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Release|Win32.Build.0 = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Release|x64.ActiveCfg = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Release|x64.Build.0 = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.SingleImage|Any CPU.ActiveCfg = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.SingleImage|Any CPU.Build.0 = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.SingleImage|Mixed Platforms.ActiveCfg = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.SingleImage|Mixed Platforms.Build.0 = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.SingleImage|Win32.ActiveCfg = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.SingleImage|Win32.Build.0 = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.SingleImage|x64.ActiveCfg = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.SingleImage|x64.Build.0 = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Template|Any CPU.ActiveCfg = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Template|Any CPU.Build.0 = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Template|Mixed Platforms.ActiveCfg = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Template|Mixed Platforms.Build.0 = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Template|Win32.ActiveCfg = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Template|Win32.Build.0 = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Template|x64.ActiveCfg = SingleImage
+		{71AB0FA7-D2B0-4731-B292-42025CB5217A}.Template|x64.Build.0 = SingleImage
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.CD_ROM|Any CPU.ActiveCfg = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.CD_ROM|Mixed Platforms.ActiveCfg = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.CD_ROM|Mixed Platforms.Build.0 = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.CD_ROM|Mixed Platforms.Deploy.0 = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.CD_ROM|Win32.ActiveCfg = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.CD_ROM|Win32.Build.0 = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.CD_ROM|Win32.Deploy.0 = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.CD_ROM|x64.ActiveCfg = Template|x64
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.CD_ROM|x64.Build.0 = Template|x64
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Debug|Any CPU.ActiveCfg = Debug|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Debug|Mixed Platforms.Build.0 = Debug|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Debug|Mixed Platforms.Deploy.0 = Debug|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Debug|Win32.ActiveCfg = Debug|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Debug|Win32.Build.0 = Debug|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Debug|Win32.Deploy.0 = Debug|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Debug|x64.ActiveCfg = Debug|x64
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Debug|x64.Build.0 = Debug|x64
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.DVD-5|Any CPU.ActiveCfg = Debug|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.DVD-5|Mixed Platforms.ActiveCfg = Debug|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.DVD-5|Mixed Platforms.Build.0 = Debug|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.DVD-5|Mixed Platforms.Deploy.0 = Debug|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.DVD-5|Win32.ActiveCfg = Debug|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.DVD-5|Win32.Build.0 = Debug|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.DVD-5|Win32.Deploy.0 = Debug|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.DVD-5|x64.ActiveCfg = Debug|x64
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.DVD-5|x64.Build.0 = Debug|x64
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Release|Any CPU.ActiveCfg = Release|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Release|Mixed Platforms.ActiveCfg = Release|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Release|Mixed Platforms.Deploy.0 = Release|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Release|Win32.ActiveCfg = Release|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Release|Win32.Build.0 = Release|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Release|Win32.Deploy.0 = Release|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Release|x64.ActiveCfg = Release|x64
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Release|x64.Build.0 = Release|x64
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.SingleImage|Any CPU.ActiveCfg = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.SingleImage|Mixed Platforms.ActiveCfg = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.SingleImage|Mixed Platforms.Build.0 = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.SingleImage|Mixed Platforms.Deploy.0 = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.SingleImage|Win32.ActiveCfg = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.SingleImage|Win32.Build.0 = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.SingleImage|Win32.Deploy.0 = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.SingleImage|x64.ActiveCfg = Template|x64
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.SingleImage|x64.Build.0 = Template|x64
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Template|Any CPU.ActiveCfg = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Template|Mixed Platforms.ActiveCfg = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Template|Mixed Platforms.Build.0 = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Template|Mixed Platforms.Deploy.0 = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Template|Win32.ActiveCfg = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Template|Win32.Build.0 = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Template|Win32.Deploy.0 = Template|Win32
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Template|x64.ActiveCfg = Template|x64
+		{B43F2DB9-B3B5-4D66-A0E0-D65D3675EAF5}.Template|x64.Build.0 = Template|x64
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.CD_ROM|Any CPU.ActiveCfg = CD_ROM
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.CD_ROM|Any CPU.Build.0 = CD_ROM
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.CD_ROM|Mixed Platforms.ActiveCfg = CD_ROM
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.CD_ROM|Mixed Platforms.Build.0 = CD_ROM
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.CD_ROM|Win32.ActiveCfg = CD_ROM
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.CD_ROM|Win32.Build.0 = CD_ROM
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.CD_ROM|x64.ActiveCfg = CD_ROM
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.CD_ROM|x64.Build.0 = CD_ROM
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Debug|Any CPU.ActiveCfg = DVD-5
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Debug|Any CPU.Build.0 = DVD-5
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Debug|Mixed Platforms.ActiveCfg = DVD-5
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Debug|Mixed Platforms.Build.0 = DVD-5
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Debug|Win32.ActiveCfg = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Debug|Win32.Build.0 = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Debug|x64.ActiveCfg = DVD-5
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Debug|x64.Build.0 = DVD-5
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.DVD-5|Any CPU.ActiveCfg = DVD-5
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.DVD-5|Any CPU.Build.0 = DVD-5
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.DVD-5|Mixed Platforms.ActiveCfg = DVD-5
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.DVD-5|Mixed Platforms.Build.0 = DVD-5
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.DVD-5|Win32.ActiveCfg = DVD-5
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.DVD-5|Win32.Build.0 = DVD-5
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.DVD-5|x64.ActiveCfg = DVD-5
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.DVD-5|x64.Build.0 = DVD-5
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Release|Any CPU.ActiveCfg = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Release|Any CPU.Build.0 = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Release|Mixed Platforms.ActiveCfg = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Release|Mixed Platforms.Build.0 = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Release|Win32.ActiveCfg = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Release|Win32.Build.0 = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Release|x64.ActiveCfg = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.SingleImage|Any CPU.ActiveCfg = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.SingleImage|Any CPU.Build.0 = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.SingleImage|Mixed Platforms.ActiveCfg = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.SingleImage|Mixed Platforms.Build.0 = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.SingleImage|Win32.ActiveCfg = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.SingleImage|Win32.Build.0 = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.SingleImage|x64.ActiveCfg = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.SingleImage|x64.Build.0 = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Template|Any CPU.ActiveCfg = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Template|Any CPU.Build.0 = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Template|Mixed Platforms.ActiveCfg = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Template|Mixed Platforms.Build.0 = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Template|Win32.ActiveCfg = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Template|Win32.Build.0 = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Template|x64.ActiveCfg = SingleImage
+		{BCCCAF23-CDB4-4833-AB48-85791D261342}.Template|x64.Build.0 = SingleImage
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.CD_ROM|Any CPU.ActiveCfg = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.CD_ROM|Mixed Platforms.ActiveCfg = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.CD_ROM|Mixed Platforms.Build.0 = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.CD_ROM|Win32.ActiveCfg = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.CD_ROM|Win32.Build.0 = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.CD_ROM|x64.ActiveCfg = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Debug|Any CPU.ActiveCfg = Debug|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Debug|Mixed Platforms.Build.0 = Debug|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Debug|Win32.ActiveCfg = Debug|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Debug|Win32.Build.0 = Debug|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Debug|x64.ActiveCfg = Debug|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.DVD-5|Any CPU.ActiveCfg = Debug|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.DVD-5|Mixed Platforms.ActiveCfg = Debug|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.DVD-5|Mixed Platforms.Build.0 = Debug|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.DVD-5|Win32.ActiveCfg = Debug|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.DVD-5|Win32.Build.0 = Debug|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.DVD-5|x64.ActiveCfg = Debug|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Release|Any CPU.ActiveCfg = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Release|Mixed Platforms.ActiveCfg = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Release|Mixed Platforms.Build.0 = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Release|Win32.ActiveCfg = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Release|Win32.Build.0 = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Release|x64.ActiveCfg = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.SingleImage|Any CPU.ActiveCfg = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.SingleImage|Mixed Platforms.ActiveCfg = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.SingleImage|Mixed Platforms.Build.0 = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.SingleImage|Win32.ActiveCfg = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.SingleImage|Win32.Build.0 = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.SingleImage|x64.ActiveCfg = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Template|Any CPU.ActiveCfg = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Template|Mixed Platforms.ActiveCfg = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Template|Mixed Platforms.Build.0 = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Template|Win32.ActiveCfg = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Template|Win32.Build.0 = Release|Win32
+		{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}.Template|x64.ActiveCfg = Release|Win32
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/LICENSE
----------------------------------------------------------------------
diff --git a/odbc/LICENSE b/odbc/LICENSE
new file mode 100644
index 0000000..e06d208
--- /dev/null
+++ b/odbc/LICENSE
@@ -0,0 +1,202 @@
+Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "{}"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright {yyyy} {name of copyright owner}
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/README.md
----------------------------------------------------------------------
diff --git a/odbc/README.md b/odbc/README.md
new file mode 100644
index 0000000..b5e5059
--- /dev/null
+++ b/odbc/README.md
@@ -0,0 +1,61 @@
+ODBC
+====
+
+ODBC Driver to interactive with Kylin Engine
+
+Download driver exe at https://github.com/KylinOLAP/odbc-driver/tree/master/exe
+
+
+
+Folder and their contents are listed. This will give you can an idea of what to find where. More details are available in the CPP files of the respective projects.
+
+The projects have been built using Visual Studio 2012. The entry of the project is KylinODBC.sln. Mind the VS version.
+
+Make sure you have the following header files, import libraries and DLLs on your system
+1. SQL.H
+2. SQLTYPES.H
+3. SQLEXT.H
+4. ODBCINST.H
+5. ODBC32.LIB & ODBC32.DLL
+6. ODBCCP32.LIB & ODBCCP32.DLL
+
+You can obtain these from Microsoft site as a part of Platform SDK or MDAC kit
+
+
+List of folders and description:
+================================
+
+KylinODBC                  - Root folder containing the workspace. All the projects are part of this single workspace
+
+KylinODBC\TestDll         - Contains a simple ODBC client that can be used to test your driver as well as connect to any ODBC data source. 
+
+KylinODBC\Common           - Shared data types, utiliy tools, etc.
+
+KylinODBC\Driver           - Contains code for Kylin ODBC driver. Note that the entire functionality has not been implemented but is enough to get you data into most standard ODBC clients like Tableau, provided you have set up a rest server to serve the query requests. Note that the header file is a very important starting point for understanding this driver.
+
+KylinODBC\Installer  	- Contains a MSI installer for kylin odbc driver(x86)
+
+KylinODBC\Installer(64bit)  - Contains a MSI installer for kylin odbc driver(x64)
+
+KylinODBC\doc               - Totorials for ODBC development starters.
+
+How to compile
+================================
+1. Get a windows PC with Microsoft Visual Studio 2012 installed. Additionaly install Microsoft Data Access Components (MDAC, http://www.microsoft.com/en-us/download/details.aspx?id=21995) on it.
+
+2. Download source code for zlib(for compression) and Casablanca(for REST invoking), and build them to static libaries. Remember if you want to build 64 bit odbc driver, you'll have to build 64 bit dependency libaries, the same goes for 32 bit 
+
+		Compiling zlib: refer to http://www.helyar.net/2010/compiling-zlib-lib-on-windows/ or http://blog.sina.com.cn/s/blog_6e0693f70100sjgj.html(this doc is in Chineses, but it's quite clear)
+		
+		Compliling Casablanca: refer to https://katyscode.wordpress.com/2014/04/01/how-to-statically-link-the-c-rest-sdk-casablanca
+
+3. Go to "Control Panel" -> "System" -> "Advanced system settings" -> "Environment Variables" -> "System variables", add two variables "ZLIB_HOME" and "CPPREST_HOME", their value being set to the home directory of zlib and Casablanca.
+
+4. Open KylinODBC.sln, if you're building a 32 bit ODBC driver, set the profile to RELEASE|Win32, build project Installer and find the driver exe at Installer/Express/SingleImage/DiskImages/DISK1. If you're building a 64 bit driver, set the profile to RELEASE|x64, and find the exe at Installer(x64bit)/Express/SingleImage/DiskImages/DISK1.
+
+
+
+all the best
+
+Hongbin Ma
+mahongbin@apache.org

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/ReadMe.txt
----------------------------------------------------------------------
diff --git a/odbc/ReadMe.txt b/odbc/ReadMe.txt
new file mode 100644
index 0000000..e571475
--- /dev/null
+++ b/odbc/ReadMe.txt
@@ -0,0 +1,53 @@
+
+Folder and their contents are listed. This will give you can an idea of what to find where. More details are available in the CPP files of the respective projects.
+
+The projects have been built using Visual Studio 2012. The entry of the project is KylinODBC.sln. Mind the VS version.
+
+Make sure you have the following header files, import libraries and DLLs on your system
+1. SQL.H
+2. SQLTYPES.H
+3. SQLEXT.H
+4. ODBCINST.H
+5. ODBC32.LIB & ODBC32.DLL
+6. ODBCCP32.LIB & ODBCCP32.DLL
+
+You can obtain these from Microsoft site as a part of Platform SDK or MDAC kit
+
+
+List of folders and description:
+================================
+
+KylinODBC                  - Root folder containing the workspace. All the projects are part of this single workspace
+
+KylinODBC\TestDll         - Contains a simple ODBC client that can be used to test your driver as well as connect to any ODBC data source. 
+
+KylinODBC\Common           - Shared data types, utiliy tools, etc.
+
+KylinODBC\Driver           - Contains code for Kylin ODBC driver. Note that the entire functionality has not been implemented but is enough to get you data into most standard ODBC clients like Tableau, provided you have set up a rest server to serve the query requests. Note that the header file is a very important starting point for understanding this driver.
+
+KylinODBC\Installer  	- Contains a MSI installer for kylin odbc driver(x86)
+
+KylinODBC\Installer(64bit)  - Contains a MSI installer for kylin odbc driver(x64)
+
+KylinODBC\doc               - Totorials for ODBC development starters.
+
+How to compile
+================================
+1. Get a windows PC with Microsoft Visual Studio 2012 installed. Additionaly install Microsoft Data Access Components (MDAC, http://www.microsoft.com/en-us/download/details.aspx?id=21995) on it.
+
+2. Download source code for zlib(for compression) and Casablanca(for REST invoking), and build them to static libaries. Remember if you want to build 64 bit odbc driver, you'll have to build 64 bit dependency libaries, the same goes for 32 bit 
+
+		Compiling zlib: refer to http://www.helyar.net/2010/compiling-zlib-lib-on-windows/ or http://blog.sina.com.cn/s/blog_6e0693f70100sjgj.html(this doc is in Chineses, but it's quite clear)
+		
+		Compliling Casablanca: refer to https://katyscode.wordpress.com/2014/04/01/how-to-statically-link-the-c-rest-sdk-casablanca
+
+3. Go to "Control Panel" -> "System" -> "Advanced system settings" -> "Environment Variables" -> "System variables", add two variables "ZLIB_HOME" and "CPPREST_HOME", their value being set to the home directory of zlib and Casablanca.
+
+4. Open KylinODBC.sln, if you're building a 32 bit ODBC driver, set the profile to RELEASE|Win32, build project Installer and find the driver exe at Installer/Express/SingleImage/DiskImages/DISK1. If you're building a 64 bit driver, set the profile to RELEASE|x64, and find the exe at Installer(x64bit)/Express/SingleImage/DiskImages/DISK1.
+
+
+
+all the best
+
+Hongbin Ma
+mahongbin@apache.org

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/TestDLL/ColorPrint.cpp
----------------------------------------------------------------------
diff --git a/odbc/TestDLL/ColorPrint.cpp b/odbc/TestDLL/ColorPrint.cpp
new file mode 100644
index 0000000..77a1f0d
--- /dev/null
+++ b/odbc/TestDLL/ColorPrint.cpp
@@ -0,0 +1,44 @@
+#include <stdio.h>
+#include <windows.h>
+
+#include "ColorPrint.h"
+
+CONSOLE_SCREEN_BUFFER_INFO consoleInfo;
+WORD saved_attributes;
+bool init = false;
+
+void initLocals ( HANDLE hConsole ) {
+    /* Save current attributes */
+    GetConsoleScreenBufferInfo ( hConsole, &consoleInfo );
+    saved_attributes = consoleInfo.wAttributes;
+    init = true;
+}
+
+void setPrintColorRED() {
+    HANDLE hConsole = GetStdHandle ( STD_OUTPUT_HANDLE );
+    
+    if ( !init ) {
+        initLocals ( hConsole );
+    }
+    
+    SetConsoleTextAttribute ( hConsole, FOREGROUND_RED );
+}
+
+void setPrintColorGreen() {
+    HANDLE hConsole = GetStdHandle ( STD_OUTPUT_HANDLE );
+    
+    if ( !init ) {
+        initLocals ( hConsole );
+    }
+    
+    SetConsoleTextAttribute ( hConsole, FOREGROUND_GREEN );
+}
+
+void resetPrintColor() {
+    if ( !init )
+    { throw - 1; }
+    
+    HANDLE hConsole = GetStdHandle ( STD_OUTPUT_HANDLE );
+    /* Restore original attributes */
+    SetConsoleTextAttribute ( hConsole, saved_attributes );
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/TestDLL/ColorPrint.h
----------------------------------------------------------------------
diff --git a/odbc/TestDLL/ColorPrint.h b/odbc/TestDLL/ColorPrint.h
new file mode 100644
index 0000000..d907f22
--- /dev/null
+++ b/odbc/TestDLL/ColorPrint.h
@@ -0,0 +1,5 @@
+#pragma once
+
+void setPrintColorRED();
+void setPrintColorGreen();
+void resetPrintColor();

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/TestDLL/CompareQueryTests.cpp
----------------------------------------------------------------------
diff --git a/odbc/TestDLL/CompareQueryTests.cpp b/odbc/TestDLL/CompareQueryTests.cpp
new file mode 100644
index 0000000..9574789
--- /dev/null
+++ b/odbc/TestDLL/CompareQueryTests.cpp
@@ -0,0 +1,530 @@
+#include "Tests.h"
+#include <vector>
+
+#include "ColorPrint.h"
+#include "fstream"
+
+// ----- whether to ask user for DSN and connection parameters OR specify -----
+//#define _CONNECT_WITH_PROMPT        1
+
+// ------------- maximum length to be displayed for a column ------------------
+#define _DISPLAY_MAX                128
+
+
+// -------------------- macro to handle error situations ----------------------
+#define ODBC_CHK_ERROR(hType,hValue,iStatus,szMsg)          \
+    {\
+        if ( status != SQL_SUCCESS ) {\
+            ShowDiagMessages ( hType, hValue, iStatus, szMsg );\
+        }\
+        if ( status == SQL_ERROR ) {\
+            goto Cleanup;\
+        }\
+    }
+
+// ---------------------------------- structure -------------------------------
+typedef struct BindColInfo {
+    SQLSMALLINT         iColTitleSize;              // size of column title
+    wchar_t*                szColTitle;                 // column title
+    SQLLEN          iColDisplaySize;            // size to display
+    void*               szColData;                  // display buffer
+    int                 iType;
+    bool                isSigned;
+    SQLLEN          indPtr;                     // size or null indicator
+    BOOL                fChar;                      // character col flag
+    struct BindColInfo* next;                       // linked list
+} BIND_COL_INFO;
+
+// -------------------------- function prototypes -----------------------------
+void        ShowDiagMessages ( SQLSMALLINT hType, SQLHANDLE hValue, SQLRETURN iStatus, char* szMsg );
+
+SQLRETURN   CheckResults ( HSTMT hStmt , wchar_t* sql );
+void        FreeBindings ( BIND_COL_INFO* pBindColInfo );
+
+int totalCount;
+int successCount;
+int failCount;
+std::vector<wstring> failedQueries;
+
+void validateOneQuery ( wchar_t* sql ) {
+    Sleep ( 1000 );
+    SQLRETURN       status;
+    SQLHANDLE       hEnv = 0;
+    SQLHANDLE       hConn = 0;
+    SQLHANDLE       hStmt = 0;
+    wchar_t szConnStrOut[1024];
+    SQLSMALLINT     x;
+    // show query to be executed
+    wprintf ( L"The query being validated: %ls \n", sql );
+    // BEFORE U CONNECT
+    // allocate ENVIRONMENT
+    status = SQLAllocHandle ( SQL_HANDLE_ENV, SQL_NULL_HANDLE, &hEnv );
+    // check for error
+    ODBC_CHK_ERROR ( SQL_HANDLE_ENV, hEnv, status, "" );
+    // set the ODBC version for behaviour expected
+    status = SQLSetEnvAttr ( hEnv,  SQL_ATTR_ODBC_VERSION, ( SQLPOINTER ) SQL_OV_ODBC3, 0 );
+    // check for error
+    ODBC_CHK_ERROR ( SQL_HANDLE_ENV, hEnv, status, "" );
+    // allocate CONNECTION
+    status = SQLAllocHandle ( SQL_HANDLE_DBC, hEnv, &hConn );
+    // check for error
+    ODBC_CHK_ERROR ( SQL_HANDLE_ENV, hEnv, status, "" );
+    #ifdef  _WIN64
+    // ----------- real connection takes place at this point
+    // ----------- option 1: user is prompted for DSN & options
+    status = SQLDriverConnect ( hConn, GetDesktopWindow(),
+                                ( unsigned char* ) "",
+                                SQL_NTS, szConnStrOut, 1024, &x,
+                                SQL_DRIVER_COMPLETE );
+    #else
+    status = SQLDriverConnectW ( hConn , GetDesktopWindow(),
+                                 //L"DSN=testDSN;",
+                                 L"DRIVER={KylinODBCDriver};PROJECT=default;UID=ADMIN;SERVER=http://localhost;PORT=80;",
+                                 SQL_NTS, szConnStrOut, 1024, &x,
+                                 SQL_DRIVER_COMPLETE );
+    #endif
+    // check for error
+    ODBC_CHK_ERROR ( SQL_HANDLE_DBC, hConn, status, "" );
+    // CONGRATUALTIONS ---- u r connected to a DBMS via an ODBC driver
+    // allocate STATEMENT
+    status = SQLAllocHandle ( SQL_HANDLE_STMT, hConn, &hStmt );
+    // check for error
+    ODBC_CHK_ERROR ( SQL_HANDLE_DBC, hConn, status, "" );
+    // execute the statement
+    //status = SQLExecDirect ( hStmt, ( unsigned char* )argv[1], SQL_NTS );
+    status = SQLExecDirectW ( hStmt, ( SQLWCHAR* ) sql, SQL_NTS );
+    // check for error
+    ODBC_CHK_ERROR ( SQL_HANDLE_STMT, hConn, status, "" );
+    // RESULTS READY
+    // show the full results row by row
+    status = CheckResults ( hStmt, sql );
+    totalCount++;
+    
+    if ( status == SQL_ERROR ) {
+        setPrintColorRED();
+        fputs ( "[FAIL]\n", stdout );
+        resetPrintColor();
+        failCount++;
+        failedQueries.push_back ( sql );
+    }
+    
+    else if ( status == SQL_SUCCESS ) {
+        setPrintColorGreen();
+        fputs ( "[SUCCESS]\n", stdout );
+        resetPrintColor();
+        successCount++;
+    }
+    
+    // check for error
+    ODBC_CHK_ERROR ( SQL_HANDLE_STMT, hStmt, status, "" );
+Cleanup:
+
+    if ( hStmt )
+    { SQLFreeHandle ( SQL_HANDLE_STMT, hStmt ); }
+    
+    if ( hConn )
+    { SQLFreeHandle ( SQL_HANDLE_DBC, hConn ); }
+    
+    if ( hEnv )
+    { SQLFreeHandle ( SQL_HANDLE_ENV, hEnv ); }
+    
+    return;
+}
+
+void validateQueries ( char* file ) {
+    std::string line;
+    std::ifstream infile ( file );
+    
+    while ( std::getline ( infile, line ) ) {
+        if ( line.size() < 5 )
+        { continue; }
+        
+        unique_ptr<wchar_t[]> p ( char2wchar ( line.c_str() ) );
+        validateOneQuery ( p.get() );
+    }
+    
+    infile.close();
+}
+
+
+bool isValueConsistent ( void* data, wstring& valueJ, int pSrcDataType, bool isSigned ) {
+    fwprintf ( stdout, L"The value from the JDBC is : %s \n", valueJ.c_str() );
+    
+    switch ( pSrcDataType ) {
+        case SQL_BIT: {
+                wstring tempW;
+                
+                if ( * ( char* ) data == 0 )
+                { tempW = L"false"; }
+                
+                else if ( * ( char* ) data == 1 )
+                { tempW = L"true"; }
+                
+                else
+                { return false; }
+                
+                return tempW.compare ( valueJ ) == 0;
+            }
+            
+        case SQL_CHAR:
+        case SQL_VARCHAR: {
+                string temp ( ( char* ) data );
+                wstring tempW = string2wstring ( temp );
+                fwprintf ( stdout, L"The value from the ODBC is : %s \n", tempW.c_str() );
+                return tempW.compare ( valueJ ) == 0;
+            }
+            
+        case SQL_WCHAR:
+        case SQL_WVARCHAR: {
+                wstring tempW ( ( wchar_t* ) data );
+                fwprintf ( stdout, L"The value from the ODBC is : %s \n", tempW.c_str() );
+                return tempW.compare ( valueJ ) == 0;
+            }
+            
+        case SQL_DECIMAL: {
+                string temp ( ( char* ) data );
+                wstring tempW = string2wstring ( temp );
+                fwprintf ( stdout, L"The value from the ODBC is : %s \n", tempW.c_str() );
+                return tempW.compare ( valueJ ) == 0;
+            }
+            
+        case SQL_TINYINT: {
+                int v = 0;
+                
+                if ( isSigned )
+                { v = * ( char* ) data; }
+                
+                else
+                { v = * ( unsigned char* ) data; }
+                
+                char buffer[100];
+                _itoa ( v, buffer, 10 );
+                string temp ( buffer );
+                wstring tempW = string2wstring ( temp );
+                fwprintf ( stdout, L"The value from the ODBC is : %s \n", tempW.c_str() );
+                return tempW.compare ( valueJ ) == 0;
+            }
+            
+        case SQL_SMALLINT: {
+                int v = 0;
+                
+                if ( isSigned )
+                { v = * ( short* ) data; }
+                
+                else
+                { v = * ( unsigned short* ) data; }
+                
+                char buffer[100];
+                _itoa ( v, buffer, 10 );
+                string temp ( buffer );
+                wstring tempW = string2wstring ( temp );
+                fwprintf ( stdout, L"The value from the ODBC is : %s \n", tempW.c_str() );
+                return tempW.compare ( valueJ ) == 0;
+            }
+            
+        case SQL_INTEGER: {
+                __int64 v = 0;
+                
+                if ( isSigned )
+                { v = * ( int* ) data; }
+                
+                else
+                { v = * ( unsigned int* ) data; }
+                
+                char buffer[100];
+                _i64toa ( v, buffer, 10 );
+                string temp ( buffer );
+                wstring tempW = string2wstring ( temp );
+                fwprintf ( stdout, L"The value from the ODBC is : %s \n", tempW.c_str() );
+                return tempW.compare ( valueJ ) == 0;
+            }
+            
+        case SQL_BIGINT: {
+                if ( isSigned ) {
+                    __int64 v = 0;
+                    v = * ( __int64* ) data;
+                    char buffer[100];
+                    _i64toa ( v, buffer, 10 );
+                    string temp ( buffer );
+                    wstring tempW = string2wstring ( temp );
+                    fwprintf ( stdout, L"The value from the ODBC is : %s \n", tempW.c_str() );
+                    return tempW.compare ( valueJ ) == 0;
+                }
+                
+                else {
+                    unsigned __int64 v = 0;
+                    v = * ( unsigned __int64* ) data;
+                    char buffer[100];
+                    _ui64toa ( v, buffer, 10 );
+                    string temp ( buffer );
+                    wstring tempW = string2wstring ( temp );
+                    fwprintf ( stdout, L"The value from the ODBC is : %s \n", tempW.c_str() );
+                    return tempW.compare ( valueJ ) == 0;
+                }
+            }
+            
+        case SQL_FLOAT: {
+                float v = 0;
+                v = * ( float* ) data;
+                fwprintf ( stdout, L"The value from the ODBC is (float) : %9.9f \n", v );
+                double x = ( v - _wtof ( valueJ.c_str() ) );
+                return ( x > -0.0000001 ) && ( x < 0.0000001 ); // In Kylin float is treated like double, so it might be more accurate
+            }
+            
+        case SQL_DOUBLE: {
+                double v = * ( double* ) data;
+                fwprintf ( stdout, L"The value from the ODBC is (double) : %9.9f\n ", v );
+                return v == wcstod ( valueJ.c_str(), NULL );
+            }
+            
+        case SQL_TYPE_DATE: {
+                string temp ( ( char* ) data );
+                wstring tempW = string2wstring ( temp );
+                fwprintf ( stdout, L"The value from the ODBC is : %s \n", tempW.c_str() );
+                return tempW.compare ( valueJ ) == 0;
+            }
+            
+        case SQL_TYPE_TIMESTAMP: {
+                string temp ( ( char* ) data );
+                wstring tempW = string2wstring ( temp );
+                fwprintf ( stdout, L"The value from the ODBC is : %s \n", tempW.c_str() );
+                return tempW.compare ( valueJ ) == 0;
+            }
+            
+        default:
+            return false;
+    }
+}
+
+// ----------------------------------------------------------------------------
+// to validate the full results row by row
+// ----------------------------------------------------------------------------
+SQLRETURN   CheckResults ( HSTMT hStmt , wchar_t* sql ) {
+    //First directly call REST to get a JDBC version result to compare against
+    std::unique_ptr<SQLResponse> response  = restQuery ( sql, "http://localhost", 80, "ADMIN", "KADMIN", "default" );
+    //Go with hStmt now
+    int                 i, iCol;
+    BIND_COL_INFO*      head;
+    BIND_COL_INFO*      last;
+    BIND_COL_INFO*      curr;
+    SQLRETURN           status;
+    SQLLEN                  cType;
+    SQLSMALLINT         iColCount;
+    // initializations
+    head = NULL;
+    
+    // ALLOCATE SPACE TO FETCH A COMPLETE ROW
+    
+    // get number of cols
+    if ( ( status = SQLNumResultCols ( hStmt, &iColCount ) ) != SQL_SUCCESS )
+    { return status; }
+    
+    // loop to allocate binding info structure
+    for ( iCol = 1; iCol <= iColCount; iCol ++ ) {
+        // alloc binding structure
+        curr = ( BIND_COL_INFO* ) calloc ( 1, sizeof ( BIND_COL_INFO ) );
+        
+        if ( curr == NULL ) {
+            fprintf ( stderr, "Out of memory!\n" );
+            return SQL_ERROR;                           // its not an ODBC error so no diags r required
+        }
+        
+        memset ( curr, 0, sizeof ( BIND_COL_INFO ) );
+        
+        // maintain link list
+        if ( iCol == 1 )
+        { head = curr; }                                // first col, therefore head of list
+        
+        else
+        { last->next = curr; }                          // attach
+        
+        last = curr;                                    // tail
+        
+        // get column title size
+        if ( ( status = SQLColAttributeW ( hStmt, iCol, SQL_DESC_NAME, NULL, 0, & ( curr->iColTitleSize ),
+                                           NULL ) ) != SQL_SUCCESS ) {
+            FreeBindings ( head );
+            return status;
+        }
+        
+        else {
+            ++ curr->iColTitleSize;                 // allow space for null char
+        }
+        
+        // allocate buffer for title
+        curr->szColTitle  = ( wchar_t* ) calloc ( 1, curr->iColTitleSize * sizeof ( wchar_t ) );
+        
+        if ( curr->szColTitle == NULL ) {
+            FreeBindings ( head );
+            fprintf ( stderr, "Out of memory!\n" );
+            return SQL_ERROR;                           // its not an ODBC error so no diags r required
+        }
+        
+        // get column title
+        if ( ( status = SQLColAttributeW ( hStmt, iCol, SQL_DESC_NAME, curr->szColTitle, curr->iColTitleSize,
+                                           & ( curr->iColTitleSize ), NULL ) ) != SQL_SUCCESS ) {
+            FreeBindings ( head );
+            return status;
+        }
+        
+        //xxx
+        // get col length
+        if ( ( status = SQLColAttributeW ( hStmt, iCol, SQL_DESC_DISPLAY_SIZE, NULL, 0, NULL,
+                                           & ( curr->iColDisplaySize ) ) ) != SQL_SUCCESS ) {
+            FreeBindings ( head );
+            return status;
+        }
+        
+        // arbitrary limit on display size
+        if ( curr->iColDisplaySize > _DISPLAY_MAX )  { curr->iColDisplaySize = _DISPLAY_MAX; }
+        
+        // allocate buffer for col data + NULL terminator
+        curr->szColData = ( void* ) calloc ( 1, 2 * ( curr->iColDisplaySize + 1 ) * sizeof ( char ) );
+        
+        if ( curr->szColData == NULL ) {
+            FreeBindings ( head );
+            fprintf ( stderr, "Out of memory!\n" );
+            return SQL_ERROR;                           // its not an ODBC error so no diags r required
+        }
+        
+        //xxx
+        // get col type, not used now but can be checked to print value right aligned etcc
+        if ( ( status = SQLColAttributeW ( hStmt, iCol, SQL_DESC_CONCISE_TYPE, NULL, 0, NULL, &cType ) ) != SQL_SUCCESS ) {
+            FreeBindings ( head );
+            return status;
+        }
+        
+        curr->iType = cType;
+        fprintf ( stdout, "The type for column %d is %d\n", iCol, cType );
+        //xxx
+        // get col type, not used now but can be checked to print value right aligned etcc
+        SQLLEN unsignedV = 0;
+        
+        if ( ( status = SQLColAttributeW ( hStmt, iCol, SQL_DESC_UNSIGNED , NULL, 0, NULL, &unsignedV ) ) != SQL_SUCCESS ) {
+            FreeBindings ( head );
+            return status;
+        }
+        
+        curr->isSigned = ( unsignedV == 1 ) ? false : true;
+        fprintf ( stdout, "The column %d is signed ? %d\n", iCol, curr->isSigned );
+        // set col type indicator in struct
+        curr->fChar = ( cType == SQL_CHAR || cType == SQL_VARCHAR || cType == SQL_LONGVARCHAR ||
+                        cType == SQL_WCHAR || cType == SQL_WVARCHAR || cType == SQL_WLONGVARCHAR );
+        fprintf ( stdout, "char flag is set to %d\n", curr->fChar );
+        fputs ( "\n", stdout );
+        
+        //xxx
+        // bind the col buffer so that the driver feeds it with col value on every fetch and use generic char binding for very column
+        if ( ( status = SQLBindCol ( hStmt, iCol, SQL_C_DEFAULT, ( SQLPOINTER ) curr->szColData,
+                                     2 * ( curr->iColDisplaySize + 1 ) * sizeof ( char ), & ( curr->indPtr ) ) ) != SQL_SUCCESS ) {
+            FreeBindings ( head );
+            return status;
+        }
+    }
+    
+    // loop to print all the rows one by one
+    for ( i = 1; TRUE; i ++ ) {
+        // fetch the next row
+        if ( ( status = SQLFetch ( hStmt ) ) == SQL_NO_DATA_FOUND )
+        { break; }                                                  // no more rows so break
+        
+        // check for error
+        else if ( status == SQL_ERROR ) {                           // fetch failed
+            FreeBindings ( head );
+            return status;
+        }
+        
+        for ( curr = head, iCol = 0; iCol < iColCount; iCol ++, curr = curr->next ) {
+            fprintf ( stdout, "Row Index: %d, Column Cardinal : %d\n", i - 1, iCol );
+            
+            if ( !isValueConsistent ( curr->szColData, response->results[i - 1]->contents[iCol], curr->iType, curr->isSigned ) ) {
+                FreeBindings ( head );
+                return SQL_ERROR;
+            }
+            
+            fputs ( "\n", stdout );
+        }
+    }
+    
+    // free the allocated bindings
+    FreeBindings ( head );
+    return SQL_SUCCESS;
+}
+
+
+// ----------------------------------------------------------------------------
+// to free the col info allocated by ShowFullResults
+// ----------------------------------------------------------------------------
+
+void FreeBindings ( BIND_COL_INFO* pBindColInfo ) {
+    BIND_COL_INFO* next;
+    
+    // precaution
+    if ( pBindColInfo ) {
+        do {
+            // get the next col binding
+            next = pBindColInfo->next;
+            
+            // free any buffer for col title
+            if ( pBindColInfo->szColTitle ) {
+                free ( pBindColInfo->szColTitle );
+                pBindColInfo->szColTitle = NULL;
+            }
+            
+            // free any col data
+            if ( pBindColInfo->szColData ) {
+                free ( pBindColInfo->szColData );
+                pBindColInfo->szColData = NULL;
+            }
+            
+            // free the current binding
+            free ( pBindColInfo );
+            // make next the current
+            pBindColInfo = next;
+        }
+        while ( pBindColInfo );
+    }
+}
+
+// ----------------------------------------------------------------------------
+// to show the ODBC diagnostic messages
+// ----------------------------------------------------------------------------
+
+void ShowDiagMessages ( SQLSMALLINT hType, SQLHANDLE hValue, SQLRETURN iStatus, char* szMsg ) {
+    SQLSMALLINT iRec = 0;
+    SQLINTEGER  iError;
+    SQLTCHAR    szMessage[1024];
+    SQLTCHAR    szState[1024];
+    // header
+    fputs ( "\nDiagnostics:\n" , stdout );
+    
+    // in case of an invalid handle, no message can be extracted
+    if ( iStatus == SQL_INVALID_HANDLE ) {
+        fprintf ( stderr, "ODBC Error: Invalid handle!\n" );
+        return;
+    }
+    
+    // loop to get all diag messages from driver/driver manager
+    while ( SQLGetDiagRec ( hType, hValue, ++ iRec, szState, &iError, szMessage,
+                            ( SQLSMALLINT ) ( sizeof ( szMessage ) / sizeof ( SQLTCHAR ) ), ( SQLSMALLINT* ) NULL ) == SQL_SUCCESS )
+    { _ftprintf ( stderr, TEXT ( "[%5.5s] %s (%d)\n" ), szState, szMessage, iError ); }
+    
+    // gap
+    fputs ( "\n" , stdout );
+}
+
+void crossValidate() {
+    char* queryFile = "testqueries.txt";
+    //char* queryFile = "c:\\foo.txt";
+    fprintf ( stdout, "The test queries file location is: %s\n", queryFile );
+    //validateOneQuery(L"SELECT * FROM classicmodels.new_table;");
+    validateQueries ( queryFile );
+    fprintf ( stdout, "The verify process is done.\n", queryFile );
+    fprintf ( stdout, "Total queries: %d, Successful queries: %d, Failed queries: %d.\n", totalCount, successCount,
+              failCount );
+              
+    for ( vector<wstring>::iterator iter = failedQueries.begin(); iter != failedQueries.end(); ++iter ) {
+        fprintf ( stdout, wstring2string ( *iter ).c_str() );
+        fprintf ( stdout, "\n\n" );
+    }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/TestDLL/QueryFlowTest.cpp
----------------------------------------------------------------------
diff --git a/odbc/TestDLL/QueryFlowTest.cpp b/odbc/TestDLL/QueryFlowTest.cpp
new file mode 100644
index 0000000..9961e48
--- /dev/null
+++ b/odbc/TestDLL/QueryFlowTest.cpp
@@ -0,0 +1,32 @@
+#include "Tests.h"
+
+void queryFlowTest() {
+    SQLRETURN       status;
+    SQLHANDLE       hEnv = 0;
+    SQLHANDLE       hConn = 0;
+    SQLHANDLE       hStmt = 0;
+    wchar_t szConnStrOut[1024];
+    SQLSMALLINT     x;
+    // BEFORE U CONNECT
+    // allocate ENVIRONMENT
+    status = SQLAllocHandle ( SQL_HANDLE_ENV, SQL_NULL_HANDLE, &hEnv );
+    // set the ODBC version for behaviour expected
+    status = SQLSetEnvAttr ( hEnv,  SQL_ATTR_ODBC_VERSION, ( SQLPOINTER ) SQL_OV_ODBC3, 0 );
+    // allocate CONNECTION
+    status = SQLAllocHandle ( SQL_HANDLE_DBC, hEnv, &hConn );
+    status = SQLDriverConnectW ( hConn, GetDesktopWindow(),
+                                 L"DRIVER={KylinODBCDriver};PROJECT=default;UID=ADMIN;SERVER=http://localhost;PORT=80;",
+                                 //L"DSN=testDSN",
+                                 SQL_NTS, szConnStrOut, 1024, &x,
+                                 SQL_DRIVER_PROMPT );
+    // check for error
+    //ODBC_CHK_ERROR(SQL_HANDLE_DBC,hConn,status,"");
+    
+    if ( hConn )
+    { SQLFreeHandle ( SQL_HANDLE_DBC, hConn ); }
+    
+    if ( hEnv )
+    { SQLFreeHandle ( SQL_HANDLE_ENV, hEnv ); }
+    
+    printf ( "finish" );
+}

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/TestDLL/Report.cpp
----------------------------------------------------------------------
diff --git a/odbc/TestDLL/Report.cpp b/odbc/TestDLL/Report.cpp
new file mode 100644
index 0000000..27a9530
--- /dev/null
+++ b/odbc/TestDLL/Report.cpp
@@ -0,0 +1,9 @@
+#include "Tests.h"
+
+void report ( const char* msg ) {
+    throw exception ( msg );
+}
+
+void report() {
+    throw exception();
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/TestDLL/RestAPITest.cpp
----------------------------------------------------------------------
diff --git a/odbc/TestDLL/RestAPITest.cpp b/odbc/TestDLL/RestAPITest.cpp
new file mode 100644
index 0000000..f16bfb3
--- /dev/null
+++ b/odbc/TestDLL/RestAPITest.cpp
@@ -0,0 +1,20 @@
+#include "Tests.h"
+
+void restAPITest() {
+    {
+        bool ret = restAuthenticate ( KServerAddr, KPort, KUserName, KPassword );
+        
+        if ( !ret )
+        { report(); }
+    }
+    {
+        std::vector<string> holder;
+        restListProjects ( KServerAddr, KPort, KUserName, KPassword, holder );
+        
+        if ( holder.size() == 0 )
+        { report(); }
+    }
+    {
+        std::unique_ptr<MetadataResponse> ret = restGetMeta ( KServerAddr, KPort, KUserName, KPassword, KDefaultProject );
+    }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/TestDLL/SimpleQueryTest.cpp
----------------------------------------------------------------------
diff --git a/odbc/TestDLL/SimpleQueryTest.cpp b/odbc/TestDLL/SimpleQueryTest.cpp
new file mode 100644
index 0000000..50a5432
--- /dev/null
+++ b/odbc/TestDLL/SimpleQueryTest.cpp
@@ -0,0 +1,30 @@
+#include "Tests.h"
+
+void simpleQueryTest() {
+    //Intercept query test
+    {
+        std::unique_ptr<SQLResponse> y  = restQuery ( L"SELECT 1", KServerAddr, KPort, KUserName, KPassword, KDefaultProject );
+        
+        if ( ( int ) y->results.size() != 1 ) {
+            report();
+        }
+    }
+    //Ungzipped Query Test
+    {
+        std::unique_ptr<SQLResponse> y  = restQuery ( L"select cal_dt from test_kylin_fact limit 1", KServerAddr, KPort,
+                                                      KUserName, KPassword, KDefaultProject );
+                                                      
+        if ( ( int ) y->results.size() != 1 ) {
+            report();
+        }
+    }
+    //zipped Query Test
+    {
+        std::unique_ptr<SQLResponse> y  = restQuery ( L"select * from test_kylin_fact limit 12", KServerAddr, KPort, KUserName,
+                                                      KPassword, KDefaultProject );
+                                                      
+        if ( ( int ) y->results.size() != 12 ) {
+            report();
+        }
+    }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/TestDLL/Source.cpp
----------------------------------------------------------------------
diff --git a/odbc/TestDLL/Source.cpp b/odbc/TestDLL/Source.cpp
new file mode 100644
index 0000000..b0b589b
--- /dev/null
+++ b/odbc/TestDLL/Source.cpp
@@ -0,0 +1,13 @@
+#include "vld.h"
+#include "Tests.h"
+using namespace std;
+
+
+int main() {
+    //unit test
+    //restAPITest();
+    //regression test:
+    //simpleQueryTest();
+    //queryFlowTest();
+    crossValidate();
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/TestDLL/TestDLL.vcxproj
----------------------------------------------------------------------
diff --git a/odbc/TestDLL/TestDLL.vcxproj b/odbc/TestDLL/TestDLL.vcxproj
new file mode 100644
index 0000000..7f5fa1e
--- /dev/null
+++ b/odbc/TestDLL/TestDLL.vcxproj
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="ColorPrint.cpp" />
+    <ClCompile Include="CompareQueryTests.cpp" />
+    <ClCompile Include="QueryFlowTest.cpp" />
+    <ClCompile Include="Report.cpp" />
+    <ClCompile Include="RestAPITest.cpp" />
+    <ClCompile Include="SimpleQueryTest.cpp" />
+    <ClCompile Include="Source.cpp" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="ColorPrint.h" />
+    <ClInclude Include="Tests.h" />
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{9E229B0C-A9FA-4A36-8089-8C60D109E2A0}</ProjectGuid>
+    <Keyword>Win32Proj</Keyword>
+    <RootNamespace>TestDLL</RootNamespace>
+    <ProjectName>Tests</ProjectName>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <PlatformToolset>v110</PlatformToolset>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <PlatformToolset>v110</PlatformToolset>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <LinkIncremental>true</LinkIncremental>
+    <OutDir>Debug\</OutDir>
+    <IntDir>Debug\</IntDir>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <LinkIncremental>false</LinkIncremental>
+    <OutDir>$(SolutionDir)$(Configuration)</OutDir>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <Optimization>Disabled</Optimization>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <AdditionalIncludeDirectories>$(SolutionDir)\Common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
+      <ShowIncludes>false</ShowIncludes>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <ModuleDefinitionFile>
+      </ModuleDefinitionFile>
+      <AdditionalDependencies>$(SolutionDir)\Common\$(Platform)\$(Configuration)\Common.lib;$(SolutionDir)\Driver\$(Platform)\$(Configuration)\driver.lib;$(CPPREST_HOME)\Binaries\Win32\Debug\cpprest110d_2_0.lib;winhttp.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib</AdditionalDependencies>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <Optimization>MaxSpeed</Optimization>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <AdditionalIncludeDirectories>$(SolutionDir)\Common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <OptimizeReferences>true</OptimizeReferences>
+      <AdditionalDependencies>$(SolutionDir)\Common\$(Platform)\$(Configuration)\Common.lib;$(SolutionDir)\Driver\$(Platform)\$(Configuration)\driver.lib;$(CPPREST_HOME)\Binaries\Win32\Release\cpprest110_2_0.lib;winhttp.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib</AdditionalDependencies>
+    </Link>
+  </ItemDefinitionGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/TestDLL/TestDLL.vcxproj.filters
----------------------------------------------------------------------
diff --git a/odbc/TestDLL/TestDLL.vcxproj.filters b/odbc/TestDLL/TestDLL.vcxproj.filters
new file mode 100644
index 0000000..ee88b0a
--- /dev/null
+++ b/odbc/TestDLL/TestDLL.vcxproj.filters
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup>
+    <Filter Include="Source Files">
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+    </Filter>
+    <Filter Include="Header Files">
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+    </Filter>
+    <Filter Include="Resource Files">
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+    </Filter>
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="Source.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="SimpleQueryTest.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="Report.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="RestAPITest.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="QueryFlowTest.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="ColorPrint.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="CompareQueryTests.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="Tests.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="ColorPrint.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+  </ItemGroup>
+</Project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/TestDLL/TestDLL.vcxproj.user
----------------------------------------------------------------------
diff --git a/odbc/TestDLL/TestDLL.vcxproj.user b/odbc/TestDLL/TestDLL.vcxproj.user
new file mode 100644
index 0000000..1b93756
--- /dev/null
+++ b/odbc/TestDLL/TestDLL.vcxproj.user
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <LocalDebuggerEnvironment>PATH=$(SolutionDir)\Driver\$(Platform)\$(Configuration)\;%PATH%</LocalDebuggerEnvironment>
+    <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
+  </PropertyGroup>
+</Project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d1dcfd15/odbc/TestDLL/Tests.h
----------------------------------------------------------------------
diff --git a/odbc/TestDLL/Tests.h b/odbc/TestDLL/Tests.h
new file mode 100644
index 0000000..06dbe9c
--- /dev/null
+++ b/odbc/TestDLL/Tests.h
@@ -0,0 +1,29 @@
+#pragma once
+
+#define prod_KServerAddr ""
+#define prod_KPort 443
+
+#define KServerAddr "http://localhost"
+#define KPort 80
+#define KUserName "ADMIN"
+#define KPassword "KADMIN"
+#define KDefaultProject "default"
+
+#include <conio.h>
+#include <stdio.h>
+#include <tchar.h>
+#include <stdlib.h>
+#include <string>
+#include <memory>
+#include <windows.h>
+#include <sqlext.h>                                     // required for ODBC calls
+#include <iostream>
+#include <REST.h>
+
+void report();
+void report ( const char* msg );
+
+void simpleQueryTest();
+void queryFlowTest();
+void restAPITest();
+void crossValidate();