Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ast/ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"math"

"github.com/kyleconroy/doubleclick/token"
"github.com/sqlc-dev/doubleclick/token"
)

// Node is the interface implemented by all AST nodes.
Expand Down
2 changes: 1 addition & 1 deletion cmd/analyze/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"path/filepath"
"strings"

"github.com/kyleconroy/doubleclick/parser"
"github.com/sqlc-dev/doubleclick/parser"
)

type testMetadata struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/fixall/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"path/filepath"
"strings"

"github.com/kyleconroy/doubleclick/parser"
"github.com/sqlc-dev/doubleclick/parser"
)

type testMetadata struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/fixparseerror2/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"path/filepath"
"strings"

"github.com/kyleconroy/doubleclick/parser"
"github.com/sqlc-dev/doubleclick/parser"
)

type testMetadata struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/fixremaining/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"path/filepath"
"strings"

"github.com/kyleconroy/doubleclick/parser"
"github.com/sqlc-dev/doubleclick/parser"
)

type testMetadata struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/fixtruncated/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"path/filepath"
"strings"

"github.com/kyleconroy/doubleclick/parser"
"github.com/sqlc-dev/doubleclick/parser"
)

type testMetadata struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/generateast/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"github.com/kyleconroy/doubleclick/parser"
"github.com/sqlc-dev/doubleclick/parser"
)

type testMetadata struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/testcase/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strings"

"github.com/kyleconroy/doubleclick/parser"
"github.com/sqlc-dev/doubleclick/parser"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/kyleconroy/doubleclick
module github.com/sqlc-dev/doubleclick

go 1.24.7
2 changes: 1 addition & 1 deletion internal/explain/explain.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strings"

"github.com/kyleconroy/doubleclick/ast"
"github.com/sqlc-dev/doubleclick/ast"
)

// Explain returns the EXPLAIN AST output for a statement, matching ClickHouse's format.
Expand Down
2 changes: 1 addition & 1 deletion internal/explain/expressions.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/kyleconroy/doubleclick/ast"
"github.com/sqlc-dev/doubleclick/ast"
)

func explainIdentifier(sb *strings.Builder, n *ast.Identifier, indent string) {
Expand Down
2 changes: 1 addition & 1 deletion internal/explain/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

"github.com/kyleconroy/doubleclick/ast"
"github.com/sqlc-dev/doubleclick/ast"
)

// FormatFloat formats a float value for EXPLAIN AST output
Expand Down
2 changes: 1 addition & 1 deletion internal/explain/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/kyleconroy/doubleclick/ast"
"github.com/sqlc-dev/doubleclick/ast"
)

func explainFunctionCall(sb *strings.Builder, n *ast.FunctionCall, indent string, depth int) {
Expand Down
2 changes: 1 addition & 1 deletion internal/explain/select.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/kyleconroy/doubleclick/ast"
"github.com/sqlc-dev/doubleclick/ast"
)

func explainSelectWithUnionQuery(sb *strings.Builder, n *ast.SelectWithUnionQuery, indent string, depth int) {
Expand Down
2 changes: 1 addition & 1 deletion internal/explain/statements.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/kyleconroy/doubleclick/ast"
"github.com/sqlc-dev/doubleclick/ast"
)

func explainInsertQuery(sb *strings.Builder, n *ast.InsertQuery, indent string, depth int) {
Expand Down
2 changes: 1 addition & 1 deletion internal/explain/tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/kyleconroy/doubleclick/ast"
"github.com/sqlc-dev/doubleclick/ast"
)

func explainTablesInSelectQuery(sb *strings.Builder, n *ast.TablesInSelectQuery, indent string, depth int) {
Expand Down
2 changes: 1 addition & 1 deletion lexer/lexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"unicode"
"unicode/utf8"

"github.com/kyleconroy/doubleclick/token"
"github.com/sqlc-dev/doubleclick/token"
)

// Lexer tokenizes ClickHouse SQL input.
Expand Down
4 changes: 2 additions & 2 deletions parser/explain.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/kyleconroy/doubleclick/ast"
"github.com/kyleconroy/doubleclick/internal/explain"
"github.com/sqlc-dev/doubleclick/ast"
"github.com/sqlc-dev/doubleclick/internal/explain"
)

// Explain returns the EXPLAIN AST output for a statement, matching ClickHouse's format.
Expand Down
4 changes: 2 additions & 2 deletions parser/expression.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strconv"
"strings"

"github.com/kyleconroy/doubleclick/ast"
"github.com/kyleconroy/doubleclick/token"
"github.com/sqlc-dev/doubleclick/ast"
"github.com/sqlc-dev/doubleclick/token"
)

// Operator precedence levels
Expand Down
6 changes: 3 additions & 3 deletions parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"strconv"
"strings"

"github.com/kyleconroy/doubleclick/ast"
"github.com/kyleconroy/doubleclick/lexer"
"github.com/kyleconroy/doubleclick/token"
"github.com/sqlc-dev/doubleclick/ast"
"github.com/sqlc-dev/doubleclick/lexer"
"github.com/sqlc-dev/doubleclick/token"
)

// Parser parses ClickHouse SQL statements.
Expand Down
2 changes: 1 addition & 1 deletion parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"testing"
"time"

"github.com/kyleconroy/doubleclick/parser"
"github.com/sqlc-dev/doubleclick/parser"
)

// checkSkipped runs skipped todo tests to see which ones now pass.
Expand Down