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

Queries using groupBy do not function correctly and the feature has been deactivated #4

Open
victor-dumitrescu opened this issue Jul 14, 2014 · 0 comments
Assignees
Labels

Comments

@victor-dumitrescu
Copy link
Collaborator

Executing a query that uses the groupBy custom operator results in an error:

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Data.Odbc.DbCache.AccessIndex(Int32 i)
   at System.Data.Odbc.OdbcDataReader.GetValue(Int32 i)
   at [email protected](IEnumerable`1& next) in C:\GitHub\fsprojects\FSharp.Data.HiveProvider\src\HiveTypeProvider\HiveTypeProvider.fs:line 773
>    at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.MoveNextImpl()
   at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.System-Collections-IEnumerator-MoveNext()
   at Microsoft.FSharp.Collections.SeqModule.ToArray[T](IEnumerable`1 source)
   at [email protected](IEnumerable`1& next) in C:\GitHub\fsprojects\FSharp.Data.HiveProvider\src\HiveTypeProvider\HiveTypeProvider.fs:line 773
   at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.MoveNextImpl()
   at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.System-Collections-IEnumerator-MoveNext()
   at Microsoft.FSharp.Collections.SeqModule.ToArray[T](IEnumerable`1 source)
   at Hive.HiveRuntime.OdbcDataServer.Hive-HiveRuntime-IHiveDataServer-GetDataFrame(HiveQueryData query, HiveColumnSchema[] colData) in C:\GitHub\fsprojects\FSharp.Data.HiveProvider\src\HiveTypeProvider\HiveTypeProvider.fs:line 770
   at [email protected](IHiveDataServer _arg1) in C:\GitHub\fsprojects\FSharp.Data.HiveProvider\src\HiveTypeProvider\HiveTypeProvider.fs:line 872
   at [email protected](AsyncParams`1 args)
   at Microsoft.FSharp.Core.Operators.FailWith[T](String message)
   at Hive.HiveRuntime.RuntimeHelpers.unexpected[a](String exp, HiveResult msg) in C:\GitHub\fsprojects\FSharp.Data.HiveProvider\src\HiveTypeProvider\HiveTypeProvider.fs:line 941
   at [email protected](IEnumerable`1& next) in C:\GitHub\fsprojects\FSharp.Data.HiveProvider\src\HiveTypeProvider\HiveTypeProvider.fs:line 1062
   at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.MoveNextImpl()
   at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.System-Collections-IEnumerator-MoveNext()
   at Microsoft.FSharp.Collections.SeqModule.ToArray[T](IEnumerable`1 source)
   at Hive.HiveRuntime.HiveQueryable`1.Run(FSharpOption`1 timeout) in C:\GitHub\fsprojects\FSharp.Data.HiveProvider\src\HiveTypeProvider\HiveTypeProvider.fs:line 1124
   at <StartupCode$FSI_0005>.$FSI_0005.main@()

Query is formatted correctly in HiveQL, but the results are not retrieved.

@victor-dumitrescu victor-dumitrescu self-assigned this Jul 14, 2014
@fsgit fsgit changed the title Results from queries using groupBy not being retrieved Queries using groupBy do not function correctly and the feature has been deactivated Jul 17, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant