Fix for recursive M expressions
This commit is contained in:
parent
d86d6212c6
commit
88dc332767
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("4.0.0.18")]
|
[assembly: AssemblyVersion("4.0.0.19")]
|
||||||
[assembly: AssemblyFileVersion("4.0.0.18")]
|
[assembly: AssemblyFileVersion("4.0.0.19")]
|
||||||
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("4.0.0.18")]
|
[assembly: AssemblyVersion("4.0.0.19")]
|
||||||
[assembly: AssemblyFileVersion("4.0.0.18")]
|
[assembly: AssemblyFileVersion("4.0.0.19")]
|
||||||
|
@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("4.0.0.18")]
|
[assembly: AssemblyVersion("4.0.0.19")]
|
||||||
[assembly: AssemblyFileVersion("4.0.0.18")]
|
[assembly: AssemblyFileVersion("4.0.0.19")]
|
||||||
|
@ -144,7 +144,12 @@ namespace BismNormalizer.TabularCompare.TabularMetadata
|
|||||||
private void InitializeCalcDependencies()
|
private void InitializeCalcDependencies()
|
||||||
{
|
{
|
||||||
_calcDependencies.Clear();
|
_calcDependencies.Clear();
|
||||||
string command = "SELECT * FROM $System.DISCOVER_CALC_DEPENDENCY WHERE OBJECT_TYPE = 'PARTITION' OR OBJECT_TYPE = 'M_EXPRESSION';";
|
string command =
|
||||||
|
"SELECT * FROM $System.DISCOVER_CALC_DEPENDENCY " +
|
||||||
|
"WHERE (OBJECT_TYPE = 'PARTITION' OR OBJECT_TYPE = 'M_EXPRESSION') AND " +
|
||||||
|
"NOT (OBJECT_TYPE = REFERENCED_OBJECT_TYPE AND " +
|
||||||
|
" [TABLE] = REFERENCED_TABLE AND" +
|
||||||
|
" OBJECT = REFERENCED_OBJECT);"; //Ignore recursive M expression dependencies
|
||||||
XmlNodeList rows = Core.Comparison.ExecuteXmlaCommand(_server, _connectionInfo.DatabaseName, command);
|
XmlNodeList rows = Core.Comparison.ExecuteXmlaCommand(_server, _connectionInfo.DatabaseName, command);
|
||||||
|
|
||||||
foreach (XmlNode row in rows)
|
foreach (XmlNode row in rows)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
|
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
|
||||||
<Metadata>
|
<Metadata>
|
||||||
<Identity Id="BismNormalizer.ea2aeb43-64a6-4dee-8816-099fb44513fa" Version="4.0.0.18" Language="en-US" Publisher="BISM Normalizer" />
|
<Identity Id="BismNormalizer.ea2aeb43-64a6-4dee-8816-099fb44513fa" Version="4.0.0.19" Language="en-US" Publisher="BISM Normalizer" />
|
||||||
<DisplayName>BISM Normalizer</DisplayName>
|
<DisplayName>BISM Normalizer</DisplayName>
|
||||||
<Description xml:space="preserve">BISM Normalizer manages Analysis Services tabular models</Description>
|
<Description xml:space="preserve">BISM Normalizer manages Analysis Services tabular models</Description>
|
||||||
<MoreInfo>http://bism-normalizer.com/</MoreInfo>
|
<MoreInfo>http://bism-normalizer.com/</MoreInfo>
|
||||||
|
Loading…
Reference in New Issue
Block a user