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

Compilation failure with new gocql driver #38

Closed
kchugalinskiy opened this issue Jan 19, 2017 · 10 comments
Closed

Compilation failure with new gocql driver #38

kchugalinskiy opened this issue Jan 19, 2017 · 10 comments

Comments

@kchugalinskiy
Copy link

github.com/relops/cqlc/generator

../gocode/src/github.com/relops/cqlc/generator/template.go:50: undefined: gocql.CLUSTERING_KEY
../gocode/src/github.com/relops/cqlc/generator/template.go:54: undefined: gocql.PARTITION_KEY
../gocode/src/github.com/relops/cqlc/generator/template.go:59: undefined: gocql.PARTITION_KEY
../gocode/src/github.com/relops/cqlc/generator/template.go:62: undefined: gocql.CLUSTERING_KEY
../gocode/src/github.com/relops/cqlc/generator/template.go:85: undefined: gocql.CLUSTERING_KEY
../gocode/src/github.com/relops/cqlc/generator/template.go:91: undefined: gocql.PARTITION_KEY

@ddave09
Copy link

ddave09 commented Jan 19, 2017

I believe this is the same issue as issue #36. Fix has already been committed and pull request has been generated. If you agree please close the issue.

@kchugalinskiy
Copy link
Author

@ddave09 thank you!

@gevgev
Copy link

gevgev commented Jan 26, 2017

Hi.
I am seeing the same issue, not sure if the above mentioned fix already committed:

$ go get github.com/relops/cqlc
github.com/relops/cqlc/generator
../../../relops/cqlc/generator/template.go:50: undefined: gocql.CLUSTERING_KEY
../../../relops/cqlc/generator/template.go:54: undefined: gocql.PARTITION_KEY
../../../relops/cqlc/generator/template.go:59: undefined: gocql.PARTITION_KEY
../../../relops/cqlc/generator/template.go:62: undefined: gocql.CLUSTERING_KEY
../../../relops/cqlc/generator/template.go:85: undefined: gocql.CLUSTERING_KEY
../../../relops/cqlc/generator/template.go:91: undefined: gocql.PARTITION_KEY

@ddave09
Copy link

ddave09 commented Jan 26, 2017

It is already committed. Look at the pull request of 20th December. It has not been merged to the main branch and I don't have access to do that either. It works on my machine. If you want clone it from my fork
https://github.com/ddave09/cqlc until it gets merged. Travis CI has failed and hence I guess it's not merged yet.

@gevgev
Copy link

gevgev commented Jan 27, 2017

Yes, I forked and pulled that commit. Thanks. Confirming - it works.

@kchugalinskiy
Copy link
Author

I confirms, it works 100% for me

@jeffdh5
Copy link

jeffdh5 commented Feb 19, 2017

Trying to install cqlc but still failing at the same issue. The fork failed as well.

@lianqiao
Copy link

@jeffdh5 @gevgev , I solved this by overwriting the relops directory with ddave09 manually, just remove relops and rename ddave09 to relops

@tanmay-saha
Copy link

@lianqiao this worked for me as well. Can somebody get someone involved in merging the changes in the main relops repo? I see this thread itself is so long.

@vidyavnv
Copy link

Can someone merge it with the master? I am having issues too.

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

No branches or pull requests

7 participants