Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Culture support for in operator and Sort function #2539

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Updates

e4d232e
Select commit
Loading
Failed to load commit list.
Open

Culture support for in operator and Sort function #2539

Updates
e4d232e
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Power-Fx PR (PFX) failed Mar 9, 2025 in 23m 49s

Build #20250309.5 had test failures

Details

Tests

  • Failed: 44 (0.04%)
  • Passed: 119,984 (99.44%)
  • Other: 632 (0.52%)
  • Total: 120,660
Code coverage

  • 70339 of 87919 blocks covered (80.00%)
  • 49214 of 63311 lines covered (77.73%)

Annotations

Check failure on line 7202 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Power-Fx PR (PFX)

Build log #L7202

[xUnit.net 00:01:44.86]     Canvas_Float(t: 4 Culture_en-US.txt : 129 - "         " & Concat( Sort( Split( "j J k K l L m M n N o O p P r R s S t T u U v V y Y z Z Ç ç Ş ş Ü ü Ö ö İ ı Ğ ğ a A b B c C d D e E f F g G h H i I", " " ), Value ), Value, " " ) = "         a A b B c C ç Ç d D e E f F g G ğ Ğ h H i I İ ı j J k K l L m M n N o O ö Ö p P r R s S ş Ş t T u U ü Ü v V y Y z Z" - Setup: RegEx,CultureInfo("en-US"),PowerFxV1CompatibilityRules,ConsistentOneColumnTableResult,SupportColumnNamesAsIdentifiers) [FAIL]

Check failure on line 8224 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Power-Fx PR (PFX)

Build log #L8224

[xUnit.net 00:01:51.93]     Canvas_Float(t: 4 Culture_sv-SE.txt : 061 - Text( DateTime(2010,1,1,14,0,0,0), "mmm ddd yyyy AM/PM" ) = "jan. fre 2010 em" - Setup: RegEx,CultureInfo("sv-SE"),PowerFxV1CompatibilityRules,ConsistentOneColumnTableResult,SupportColumnNamesAsIdentifiers) [FAIL]

Check failure on line 12099 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Power-Fx PR (PFX)

Build log #L12099

[xUnit.net 00:02:18.98]     Canvas_Float(t: 4 Culture_da-DK.txt : 110 - Concat( SortByColumns( Split( "U c q s X Å P L i I u d J å M E l k W v j Æ n a B K C D e ø æ f O y m Ø r Q R A x h T H N Z F V w o S g t p G Y b z", " " ), "Value" ), Value, " " ) = "A a B b C c D d E e F f G g H h I i J j K k L l M m N n O o P p Q q R r S s T t U u V v W w X x Y y Z z Æ æ Ø ø Å å" - Setup: RegEx,CultureInfo("da-DK"),PowerFxV1CompatibilityRules,ConsistentOneColumnTableResult,SupportColumnNamesAsIdentifiers) [FAIL]

Check failure on line 17429 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Power-Fx PR (PFX)

Build log #L17429

[xUnit.net 00:02:37.59]     Canvas_Float(t: 4 Culture_da-DK.txt : 107 - Concat( Sort( Split( "n F X W o i j x B m I R G S h Ø L p K t A k l y J æ u v s T a ø N D z Æ e O U E H r Z å g b q Å P d f C M c Y w V Q", " " ), Value ), Value, " " ) = "A a B b C c D d E e F f G g H h I i J j K k L l M m N n O o P p Q q R r S s T t U u V v W w X x Y y Z z Æ æ Ø ø Å å" - Setup: RegEx,CultureInfo("da-DK"),PowerFxV1CompatibilityRules,ConsistentOneColumnTableResult,SupportColumnNamesAsIdentifiers) [FAIL]

Check failure on line 1 in Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.V1_Float(t: 4 Culture_sv-SE.txt : 061 - Text( DateTime(2010,1,1,14,0,0,0), "mmm ddd yyyy AM/PM" ) = "jan. fre 2010 em" - Setup: RegEx,CultureInfo("sv-SE"),PowerFxV1CompatibilityRules,ConsistentOneColumnTableResult,SupportColumnNamesAsIdentifiers)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Power-Fx PR (PFX)

Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.V1_Float(t: 4 Culture_sv-SE.txt : 061 - Text( DateTime(2010,1,1,14,0,0,0), "mmm ddd yyyy AM/PM" ) = "jan. fre 2010 em" - Setup: RegEx,CultureInfo("sv-SE"),PowerFxV1CompatibilityRules,ConsistentOneColumnTableResult,SupportColumnNamesAsIdentifiers)

Test Culture_sv-SE.txt:61: 
  Expected: "jan. fre 2010 em"
  Actual  : "jan fre 2010 "
Raw output
   at Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.RunExpressionTestCase(ExpressionTestCase testCase, Features features, Boolean numberIsFloat, ITestOutputHelper output) in \src\tests\Microsoft.PowerFx.Interpreter.Tests.Shared\FileExpressionEvaluationTests.cs:line 123
   at Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.V1_Float(ExpressionTestCase t) in \src\tests\Microsoft.PowerFx.Interpreter.Tests.Shared\FileExpressionEvaluationTests.cs:line 82

Check failure on line 1 in Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.V1_Float(t: 4 Culture_en-US.txt : 153 - " " & Concat( SortByColumns( Split( "B I Ö p M Y h a A X V w z J Z t l k x G Ä e f v y T W E i Å R N Q K n C u F b H L q c r d m g o S j O P å D U ö s ä", " " ), "Value" ), Value, " " ) = " a A å Å ä Ä b B c C d D e E f F g G h H i I j J k K l L m M n N o O ö Ö p P q Q r R s S t T u U v V w W x X y Y z Z" - Setup: RegEx,CultureInfo("en-US"),PowerFxV1CompatibilityRules,ConsistentOneColu··

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Power-Fx PR (PFX)

Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.V1_Float(t: 4 Culture_en-US.txt : 153 - " " & Concat( SortByColumns( Split( "B I Ö p M Y h a A X V w z J Z t l k x G Ä e f v y T W E i Å R N Q K n C u F b H L q c r d m g o S j O P å D U ö s ä", " " ), "Value" ), Value, " " ) = " a A å Å ä Ä b B c C d D e E f F g G h H i I j J k K l L m M n N o O ö Ö p P q Q r R s S t T u U v V w W x X y Y z Z" - Setup: RegEx,CultureInfo("en-US"),PowerFxV1CompatibilityRules,ConsistentOneColu··

Test Culture_en-US.txt:153: 
  Expected: "         a A å Å ä Ä b B c C d D e E f F g G h H i I j J k K l L m M n N o O ö Ö p P q Q r R s S t T u U v V w W x X y Y z Z"
  Actual  : "         a A ä Ä å Å b B c C d D e E f F g G h H i I j J k K l L m M n N o O ö Ö p P q Q r R s S t T u U v V w W x X y Y z Z"
Raw output
   at Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.RunExpressionTestCase(ExpressionTestCase testCase, Features features, Boolean numberIsFloat, ITestOutputHelper output) in \src\tests\Microsoft.PowerFx.Interpreter.Tests.Shared\FileExpressionEvaluationTests.cs:line 123
   at Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.V1_Float(ExpressionTestCase t) in \src\tests\Microsoft.PowerFx.Interpreter.Tests.Shared\FileExpressionEvaluationTests.cs:line 82

Check failure on line 1 in Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.V1_Float(t: 4 Culture_da-DK.txt : 110 - Concat( SortByColumns( Split( "U c q s X Å P L i I u d J å M E l k W v j Æ n a B K C D e ø æ f O y m Ø r Q R A x h T H N Z F V w o S g t p G Y b z", " " ), "Value" ), Value, " " ) = "A a B b C c D d E e F f G g H h I i J j K k L l M m N n O o P p Q q R r S s T t U u V v W w X x Y y Z z Æ æ Ø ø Å å" - Setup: RegEx,CultureInfo("da-DK"),PowerFxV1CompatibilityRules,ConsistentOneColumnTableResult,SupportCo··

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Power-Fx PR (PFX)

Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.V1_Float(t: 4 Culture_da-DK.txt : 110 - Concat( SortByColumns( Split( "U c q s X Å P L i I u d J å M E l k W v j Æ n a B K C D e ø æ f O y m Ø r Q R A x h T H N Z F V w o S g t p G Y b z", " " ), "Value" ), Value, " " ) = "A a B b C c D d E e F f G g H h I i J j K k L l M m N n O o P p Q q R r S s T t U u V v W w X x Y y Z z Æ æ Ø ø Å å" - Setup: RegEx,CultureInfo("da-DK"),PowerFxV1CompatibilityRules,ConsistentOneColumnTableResult,SupportCo··

Test Culture_da-DK.txt:110: 
  Expected: "A a B b C c D d E e F f G g H h I i J j K k L l M m N n O o P p Q q R r S s T t U u V v W w X x Y y Z z Æ æ Ø ø Å å"
  Actual  : "a A b B c C d D e E f F g G h H i I j J k K l L m M n N o O p P q Q r R s S t T u U v V w W x X y Y z Z æ Æ ø Ø å Å"
Raw output
   at Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.RunExpressionTestCase(ExpressionTestCase testCase, Features features, Boolean numberIsFloat, ITestOutputHelper output) in \src\tests\Microsoft.PowerFx.Interpreter.Tests.Shared\FileExpressionEvaluationTests.cs:line 123
   at Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.V1_Float(ExpressionTestCase t) in \src\tests\Microsoft.PowerFx.Interpreter.Tests.Shared\FileExpressionEvaluationTests.cs:line 82

Check failure on line 1 in Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.Canvas_Float(t: 4 Culture_en-US.txt : 133 - " " & Concat( SortByColumns( Split( "d D e E f F g G h H i I j J k K l L m M n N o O p P r R s S t T u U v V y Y z Z Ç ç Ş ş Ü ü Ö ö İ ı Ğ ğ a A b B c C", " " ), "Value" ), Value, " " ) = " a A b B c C ç Ç d D e E f F g G ğ Ğ h H i I İ ı j J k K l L m M n N o O ö Ö p P r R s S ş Ş t T u U ü Ü v V y Y z Z" - Setup: RegEx,CultureInfo("en-US"),PowerFxV1CompatibilityRules,ConsistentOne··

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Power-Fx PR (PFX)

Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.Canvas_Float(t: 4 Culture_en-US.txt : 133 - " " & Concat( SortByColumns( Split( "d D e E f F g G h H i I j J k K l L m M n N o O p P r R s S t T u U v V y Y z Z Ç ç Ş ş Ü ü Ö ö İ ı Ğ ğ a A b B c C", " " ), "Value" ), Value, " " ) = " a A b B c C ç Ç d D e E f F g G ğ Ğ h H i I İ ı j J k K l L m M n N o O ö Ö p P r R s S ş Ş t T u U ü Ü v V y Y z Z" - Setup: RegEx,CultureInfo("en-US"),PowerFxV1CompatibilityRules,ConsistentOne··

Test Culture_en-US.txt:133: 
  Expected: "         a A b B c C ç Ç d D e E f F g G ğ Ğ h H i I İ ı j J k K l L m M n N o O ö Ö p P r R s S ş Ş t T u U ü Ü v V y Y z Z"
  Actual  : "         a A b B c C ç Ç d D e E f F g G ğ Ğ h H i I ı İ j J k K l L m M n N o O ö Ö p P r R s S ş Ş t T u U ü Ü v V y Y z Z"
Raw output
   at Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.RunExpressionTestCase(ExpressionTestCase testCase, Features features, Boolean numberIsFloat, ITestOutputHelper output) in \src\tests\Microsoft.PowerFx.Interpreter.Tests.Shared\FileExpressionEvaluationTests.cs:line 123
   at Microsoft.PowerFx.Interpreter.Tests.FileExpressionEvaluationTests.Canvas_Float(ExpressionTestCase t) in \src\tests\Microsoft.PowerFx.Interpreter.Tests.Shared\FileExpressionEvaluationTests.cs:line 50