crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
e87a8262
ROOT
/
go
/
libraries
/
doltcore
/
sqle
/
sqlselect_test.go
Search
History
1742 lines
|
ISO-8859-1
|
81 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
singleSelectQueryTest
skipBrokenSelect
SelectTest
Name
:
string
Query
:
string
ExpectedSchema
:
schema.Schema
ExpectedSqlSchema
:
sql.Schema
ExpectedRows
:
[]sql.Row
ExpectedErr
:
string
AdditionalSetup
:
SetupFn
SkipOnSqlEngine
:
bool
loadedLocalLocation
:
*time.Location
LoadedLocalLocation
()
:
*time.Location
BasicSelectTests
()
:
[]SelectTest
sqlDiffSchema
SelectDiffTests
AsOfTests
JoinTests
TestSelect
(t *testing.T)
TestDiffQueries
(t *testing.T)
TestAsOfQueries
(t *testing.T)
TestJoins
(t *testing.T)
systemTableSelectTests
CreateTestJSON
()
:
types.JSON
TestSelectSystemTables
(t *testing.T)
testCommitClock
unixNano
:
int64
installTestCommitClock
()
:
func()
testSelectQuery
(t *testing.T, test SelectTest)
TableWithHistoryName
InitialHistSch
AddAddrAt3HistSch
AddAgeAt4HistSch
ReaddAgeAt5HistSch
TableUpdate
NewSch
:
schema.Schema
NewRowData
:
*types.Map
RowUpdates
:
[]row.Row
HistoryNode
Branch
:
string
CommitMsg
:
string
Updates
:
map[string]TableUpdate
Children
:
[]HistoryNode
mustRowData
(t *testing.T, ctx context.Context, vrw types.ValueReadWriter, sch schema.Schema, colVals []row.TaggedValues)
:
*types.Map
CreateHistory
(ctx context.Context, dEnv *env.DoltEnv, t *testing.T)
:
[]HistoryNode
idColTag0TypeUUID
firstColTag1TypeStr
lastColTag2TypeStr
addrColTag3TypeStr
ageColTag4TypeInt
ageColTag5TypeUint
DiffSchema
testSelectDiffQuery
(t *testing.T, test SelectTest)
createWorkingRootUpdate
()
:
map[string]TableUpdate
updateTables
(t *testing.T, ctx context.Context, root *doltdb.RootValue, tblUpdates map[string]TableUpdate)
:
*doltdb.RootValue
initializeWithHistory
(t *testing.T, ctx context.Context, dEnv *env.DoltEnv, historyNodes ...HistoryNode)
processNode
(t *testing.T, ctx context.Context, dEnv *env.DoltEnv, node HistoryNode, parent *doltdb.Commit)
validateTest
(t *testing.T, test SelectTest)
*testCommitClock
Now
()
:
time.Time
All occurrences
Please wait...
Page is in error, reload to recover