Skip to content
This repository has been archived by the owner on Aug 27, 2020. It is now read-only.

installing FastGroupBy #7

Closed
jangorecki opened this issue Sep 30, 2018 · 6 comments
Closed

installing FastGroupBy #7

jangorecki opened this issue Sep 30, 2018 · 6 comments
Milestone

Comments

@jangorecki
Copy link

installation of FastGroupBy package.
I tried two ways mentioned in readme and got following errors

julia> Pkg.add("FastGroupBy")
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package FastGroupBy [e6aeac8e]:
 FastGroupBy [e6aeac8e] log:
 ├─possible versions are: 0.1.0 or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions 0.1.0
 └─restricted by julia compatibility requirements to versions: uninstalled — no versions left
Stacktrace:
 [1] #propagate_constraints!#61(::Bool, ::Function, ::Pkg.GraphType.Graph, ::Set{Int64}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:1005
 [2] propagate_constraints! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:946 [inlined] (repeats 2 times)
 [3] #simplify_graph!#121(::Bool, ::Function, ::Pkg.GraphType.Graph, ::Set{Int64}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:1460
 [4] simplify_graph! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:1460 [inlined] (repeats 2 times)
 [5] macro expansion at ./logging.jl:311 [inlined]
 [6] resolve_versions!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:339
 [7] #add_or_develop#58(::Array{Base.UUID,1}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1163
 [8] #add_or_develop at ./none:0 [inlined]
 [9] #add_or_develop#13(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:64
 [10] #add_or_develop#11(::Base.Iterators.Pairs{Symbol,Symbol,Tuple{Symbol},NamedTuple{(:mode,),Tuple{Symbol}}}, ::Function, ::Array{String,1}) at ./none:0
 [11] add(::String) at ./none:0
 [12] top-level scope at none:0
julia> Pkg.clone("https://github.com/xiaodaigh/FastGroupBy.jl.git")
┌ Warning: Pkg.clone is only kept for legacy CI script reasons, please use `add`
└ @ Pkg.API /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:445
   Cloning git-repo `https://github.com/xiaodaigh/FastGroupBy.jl.git`
  Updating git-repo `https://github.com/xiaodaigh/FastGroupBy.jl.git`
ERROR: expected a `name` entry in project file at /tmp/tmpcCRxUh/Project.toml
Stacktrace:
 [1] pkgerror(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:120
 [2] _throw_package_err(::String, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:444
 [3] read_package(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:447
 [4] parse_package!(::Pkg.Types.Context, ::Pkg.Types.PackageSpec, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:694
 [5] (::getfield(Pkg.Types, Symbol("##25#28")){Pkg.Types.Context,Array{Pkg.Types.PackageSpec,1},String})(::LibGit2.CachedCredentials) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:567
 [6] shred!(::getfield(Pkg.Types, Symbol("##25#28")){Pkg.Types.Context,Array{Pkg.Types.PackageSpec,1},String}, ::LibGit2.CachedCredentials) at ./secretbuffer.jl:184
 [7] #add_or_develop#13(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:498
 [8] #add_or_develop at ./none:0 [inlined]
 [9] #develop#19 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:70 [inlined]
 [10] develop at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:70 [inlined]
 [11] macro expansion at ./logging.jl:310 [inlined]
 [12] clone(::String, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:445 (repeats 2 times)
 [13] top-level scope at none:0

is that install procedure up to date? how should I install it?
I am on Ubuntu 16.04

@xiaodaigh
Copy link
Owner

xiaodaigh commented Sep 30, 2018

This hasn't been updated for Julia v1.0.

@xiaodaigh
Copy link
Owner

@jangorecki If you trying to build some benchmarks, can I suggest that you use the DataFrames.jl and JuliaDB.jl's native group-by? Because eventually these functions will be contributed back to those packages.

@xiaodaigh
Copy link
Owner

See #9

@xiaodaigh xiaodaigh added this to the V1 ready milestone Dec 15, 2018
@xiaodaigh
Copy link
Owner

@jangorecki This package is now Julia v1 ready. Please note that this package should signficantly improve upon the performance of group-by integer IDs but should be slower than DataFrames.jl for grouping by Strings.

@jangorecki
Copy link
Author

AFAIU it is going to be used in DataFames sooner or later?

@xiaodaigh
Copy link
Owner

It might be a while, because I am unfamiliar with the DataFrame architecture, so I won't be able to contribute to DataFrames any time soon. But people in the DataFrames.jl circle are aware of my approach.

I think this should be tested in the group-by benchmarks too repo as well.

Also adding categorical factors would be nice.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants