Skip to content

Commit bb01bb4

Browse files
authored
Merge pull request #109 from cloudera/dev
Current release supports OOB templates on home page We have removed SFT( covered in freeform) and Custom data Augmentation( very niche use case and not mature enough) altogether and only have freeform as workflow. Large data runs if fails , we have partial data saves, with completed rows option, if there are any UX improvements here then we can look for it in next release but current version works for the mentioned functionality. Added context( document selection) in freeform workflow
2 parents 1748dff + 6404a1c commit bb01bb4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2943
-1234
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,5 @@ sample_200x100.csv
8484
Raw_Web_Visit_sample.csv
8585
Raw_Web_Visit_Sample.csv
8686
Raw_Web_Visit_Sample.csv
87+
app/test_models.py
88+
credit_card_example.json
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
"""add_completed_rows
2+
3+
Revision ID: 2b4e8d9f6c3a
4+
Revises: 1a8fdc23eb6f
5+
Create Date: 2025-01-18 10:30:00.000000
6+
7+
"""
8+
from typing import Sequence, Union
9+
10+
from alembic import op
11+
import sqlalchemy as sa
12+
13+
14+
# revision identifiers, used by Alembic.
15+
revision: str = '2b4e8d9f6c3a'
16+
down_revision: Union[str, None] = '1a8fdc23eb6f'
17+
branch_labels: Union[str, Sequence[str], None] = None
18+
depends_on: Union[str, Sequence[str], None] = None
19+
20+
21+
def upgrade() -> None:
22+
# Add completed_rows column to generation_metadata table
23+
with op.batch_alter_table('generation_metadata', schema=None) as batch_op:
24+
batch_op.add_column(sa.Column('completed_rows', sa.Integer(), nullable=True))
25+
26+
27+
def downgrade() -> None:
28+
# Remove completed_rows column from generation_metadata table
29+
with op.batch_alter_table('generation_metadata', schema=None) as batch_op:
30+
batch_op.drop_column('completed_rows')

app/client/src/Container.tsx

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,25 @@ const pages: MenuItem[] = [
7777
<Link to={`${Pages.GENERATOR}`}>{LABELS[Pages.GENERATOR]}</Link>
7878
),
7979
},
80+
{
81+
key: Pages.DATASETS,
82+
label: (
83+
<Link to={`${Pages.DATASETS}`}>{LABELS[Pages.DATASETS]}</Link>
84+
),
85+
},
86+
{
87+
key: Pages.EVALUATIONS,
88+
label: (
89+
<Link to={`${Pages.EVALUATIONS}`}>{LABELS[Pages.EVALUATIONS]}</Link>
90+
),
91+
},
92+
{
93+
key: Pages.EXPORTS,
94+
label: (
95+
<Link to={`${Pages.EXPORTS}`}>{LABELS[Pages.EXPORTS]}</Link>
96+
),
97+
},
98+
8099
// {
81100
// key: Pages.TELEMETRY,
82101
// label: (
@@ -107,7 +126,7 @@ const pages: MenuItem[] = [
107126
</div>
108127
<Flex justify='center' align='center' vertical style={{ marginTop: '12px' }}>
109128
<StyledSection>
110-
{`SDS-1.0.2`}
129+
{`SDS-1.0.3`}
111130
</StyledSection>
112131
</Flex>
113132
</Flex>

app/client/src/api/Datasets/response.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export type DatasetResponse = {
2222
job_name: string;
2323
job_status: string;
2424
inference_type: string;
25+
completed_rows: number; // Add this line
2526
};
2627

2728
export type ModelParameters = {
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 8 additions & 0 deletions
Loading
Lines changed: 9 additions & 0 deletions
Loading
Lines changed: 13 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)