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

Add CSV data support for Ballerina #1

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
1dcb5c4
initial commit
SasinduDilshara Feb 15, 2024
bf83a37
Add toCsvString function
SasinduDilshara Feb 16, 2024
11481e7
Update `fromStringWithType` function
SasinduDilshara Feb 16, 2024
45f77d2
Update fromStringWithType function
SasinduDilshara Feb 16, 2024
3353ad4
Update json variables into csv variables
SasinduDilshara Feb 18, 2024
41270d7
Update csv var names
SasinduDilshara Feb 18, 2024
ee61184
Update error diagnostic codes
SasinduDilshara Feb 18, 2024
0f79b57
Remove nodestack from csv traversal
SasinduDilshara Feb 18, 2024
1dfcb0f
Update type of field hierachy and the rest type
SasinduDilshara Feb 18, 2024
f65b2ce
Remove unwanted fields in parser
SasinduDilshara Feb 18, 2024
0e81e8a
Refactor header states
SasinduDilshara Feb 18, 2024
a9d571a
Refactor csv parser
SasinduDilshara Feb 18, 2024
855f202
Add configs
SasinduDilshara Feb 19, 2024
03667ef
Refactor the code with user configurations
SasinduDilshara Feb 21, 2024
940fd33
Refactor the traversal function
SasinduDilshara Feb 21, 2024
4c9f9ad
Add usere configs and basic tests
SasinduDilshara Mar 6, 2024
ed3cbf4
Add tests for tuple source values
SasinduDilshara Mar 15, 2024
d9f3753
Add tests for csvWithType Functiojn
SasinduDilshara Mar 18, 2024
b7a93cd
Add record related tests for fromcsvstring with type function
SasinduDilshara Mar 20, 2024
23a025b
Add tests for arrays & maps for fromStringWithType
SasinduDilshara Mar 22, 2024
b6a379e
Add tests for config headers and custom headers
SasinduDilshara Mar 24, 2024
9074ecf
Add tests for several configs of header params
SasinduDilshara Mar 24, 2024
b1284ed
Update user configs
SasinduDilshara Mar 29, 2024
f89691c
Add test files for basic functionality
SasinduDilshara May 13, 2024
7bc30a5
Add user config tests
SasinduDilshara May 14, 2024
9b8c7f7
Add tests for comments and null configs
SasinduDilshara Jun 6, 2024
f2a4a1a
Add tests for customheaders
SasinduDilshara Jun 6, 2024
04388da
Add basic text enclosure property
SasinduDilshara Jun 9, 2024
090aec4
Add tests for escape characters and delimiters
SasinduDilshara Jun 10, 2024
31f7ab9
Add tests for line terminator
SasinduDilshara Jun 10, 2024
6c4444c
Add tests for nil config and data projection
SasinduDilshara Jun 13, 2024
a70c2a8
Add tests for name annotation
SasinduDilshara Jun 13, 2024
45399fe
Add Name config tests for records
SasinduDilshara Jun 13, 2024
f4b386d
Add type compatibility for string tuples
SasinduDilshara Jun 16, 2024
b0ee27c
Add intersection support
SasinduDilshara Jun 18, 2024
360ea4d
Add constraint validations
SasinduDilshara Jun 20, 2024
1f2c816
Add tests for internal union types
SasinduDilshara Jun 24, 2024
5bcc0d9
Add tests for union & intertsection types
SasinduDilshara Jun 25, 2024
e291761
Add tests for finite types
SasinduDilshara Jun 26, 2024
30fb9e4
Add implementation and tests for Singleton and subtypes
SasinduDilshara Jun 27, 2024
8b2f215
Add implementation for compiler plugin
SasinduDilshara Jul 2, 2024
5eb0918
[Automated] Update the native jar versions
SasinduDilshara Jul 2, 2024
1d21659
[Automated] Update the native jar versions
SasinduDilshara Jul 2, 2024
cfd8d2d
Add compiler plugin tests
SasinduDilshara Jul 2, 2024
61169f2
Update error type
SasinduDilshara Jul 5, 2024
41f02a7
Removed resolved comments in ballerina files
SasinduDilshara Jul 5, 2024
fec4c7b
Remove unwanted debug functions and logs
SasinduDilshara Jul 5, 2024
fb6d13b
[Automated] Update the native jar versions
SasinduDilshara Jul 5, 2024
85352b2
Add API documentations for public types
SasinduDilshara Jul 5, 2024
a1924d1
Remove the ReadMe description
SasinduDilshara Jul 5, 2024
d604598
Merge branch 'development' of https://github.com/ballerina-platform/m…
SasinduDilshara Jul 5, 2024
e4235af
Update git attributes for windows
SasinduDilshara Jul 5, 2024
58c4dbf
[Automated] Update the native jar versions
SasinduDilshara Jul 8, 2024
7ead985
Restructure the ballerina integration test structure
SasinduDilshara Jul 9, 2024
e4ae6d2
[Automated] Update the native jar versions
SasinduDilshara Jul 10, 2024
c7d0602
[Automated] Update the native jar versions
SasinduDilshara Jul 10, 2024
be14fe2
Fix new line character related issu in wiondows build
SasinduDilshara Jul 10, 2024
0ca601b
[Automated] Update the native jar versions
SasinduDilshara Jul 10, 2024
fe50cfa
[Automated] Update the native jar versions
SasinduDilshara Jul 11, 2024
f20fd85
[Automated] Update the native jar versions
SasinduDilshara Jul 11, 2024
f4f07ca
[Automated] Update the native jar versions
SasinduDilshara Jul 12, 2024
1eb6cf9
Add tests for byte and byte streams
SasinduDilshara Jul 12, 2024
916eff1
[Automated] Update the native jar versions
SasinduDilshara Jul 12, 2024
fba132a
Add tests for array indexes
SasinduDilshara Jul 12, 2024
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: 2 additions & 0 deletions .github/workflows/build-with-bal-test-graalvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ jobs:
lang_tag: ${{ inputs.lang_tag }}
lang_version: ${{ inputs.lang_version }}
native_image_options: '-J-Xmx7G ${{ inputs.native_image_options }}'
# TODO : Enable after fixing this issue : https://github.com/ballerina-platform/ballerina-lang/issues/38882
additional_windows_build_flags: '-x test'
19 changes: 19 additions & 0 deletions .github/workflows/stale_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Close stale pull requests'

on:
schedule:
- cron: '30 19 * * *'
workflow_dispatch:

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
stale-pr-message: 'This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the `stale` label is removed or commented.'
close-pr-message: 'Closed PR due to inactivity for more than 18 days.'
days-before-pr-stale: 15
days-before-pr-close: 3
days-before-issue-stale: -1
days-before-issue-close: -1
28 changes: 28 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"configurations": [
{
"name": "Ballerina Debug",
"type": "ballerina",
"request": "launch",
"programArgs": [],
"commandOptions": [],
"env": {}
},
{
"name": "Ballerina Test",
"type": "ballerina",
"request": "launch",
"debugTests": true,
"programArgs": [],
"commandOptions": [],
"env": {}
},
{
"name": "Ballerina Remote",
"type": "ballerina",
"request": "attach",
"debuggeeHost": "127.0.0.1",
"debuggeePort": "5005"
}
]
}
Loading
Loading